Esempio n. 1
0
 public WorldCellView(WorldCellModel model, string texture, float width, float height, Color color, int zIndex) : this(model, texture)
 {
     Width  = width;
     Height = height;
     Colour = color;
     ZIndex = zIndex;
 }
 public WorldCellController(FloatCoords coords, TerrainType terrain)
 {
     worldCellModel = new WorldCellModel(terrain, (Coords)coords);
     worldCellView  = new WorldCellView(worldCellModel, TerrainDef.TerrainDef.TerrainDictionary[terrain]);
 }
Esempio n. 3
0
 public WorldCellView(WorldCellModel model, string texture)
 {
     this.model = model;
     Texture    = texture;
 }