Exemplo 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]);
 }
Exemplo n.º 3
0
 public WorldCellView(WorldCellModel model, string texture)
 {
     this.model = model;
     Texture    = texture;
 }