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