예제 #1
0
        public TiledImageLayer CreateImageLayer(string name, Texture2D texture, Vector2 position)
        {
            var layer = new TiledImageLayer(_graphicsDevice, name, texture, position);

            _layers.Add(layer);
            return(layer);
        }
예제 #2
0
 public TiledImageLayer CreateImageLayer(string name, Texture2D texture, Vector2 position)
 {
     var layer = new TiledImageLayer(_graphicsDevice, name, texture, position);
     _layers.Add(layer);
     return layer;
 }