예제 #1
0
 public int this[Coordinate coordinate]
 {
     get
     {
         return this[coordinate.X, coordinate.Y];
     }
 }
예제 #2
0
 public Item(Coordinate position, ItemType type, int value, PowerUpType powerUpType = PowerUpType.None)
 {
     Position = position;
     Type = type;
     Value = value;
     PowerUpType = powerUpType;
 }