コード例 #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;
 }