public static Layer CreateTileLayer(LayerPresenter layer, string name) { return new MultiTileGridLayer(name, (layer as TileGridLayerPresenter).Layer as MultiTileGridLayer); }
public static CanvasLayer CreateTileCanvasLayer3(LayerPresenter layer) { return new LevelRenderLayer(layer as LevelLayerPresenter); }
public CanvasLayer(LayerPresenter model) { _model = model; }
public static CanvasLayer CreateTileCanvasLayer2(LayerPresenter layer) { return new TileSetRenderLayer(layer as TileSetLayerPresenter); }
public static Layer CreateObjectLayerPresenter(LayerPresenter layer, string name) { return new ObjectLayer(name, (layer as ObjectLayerPresenter).Layer as ObjectLayer); }