示例#1
0
 public Square(Terrain terrain)
 {
     Terrain = Terrain;
 }
示例#2
0
 public class Square {    //TODO shouldn't have null units or terrain. nullpointexcept waiting to happen
     //public Square(Unit unit) {
     //	Unit = unit;
     //}
     public Square(Terrain terrain, Unit unit)
     {
         Terrain = terrain;
         Unit    = unit;
     }