28 lines
566 B
C#
28 lines
566 B
C#
namespace EventCubeMelt.ShapePlacement
|
||
{
|
||
public class ShapePlacement
|
||
{
|
||
public int Id { get; set; }
|
||
|
||
//-
|
||
public int Row { get; set; }
|
||
|
||
//-
|
||
public int Col { get; set; }
|
||
|
||
//-
|
||
public int[,] Shape;
|
||
|
||
//-
|
||
public int Weight;
|
||
|
||
//- 复杂度
|
||
public float Complexity;
|
||
|
||
public override string ToString()
|
||
{
|
||
return $"Id = {Id} 放置于({Row},{Col}),Complexity: {Complexity:F3}";
|
||
}
|
||
}
|
||
|
||
} |