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