Exemplo n.º 1
0
 public ExtraTileInfo(LayMapTile tile, OGLTextureManager manager)
 {
     Parent         = tile;
     TextureManager = manager;
     Texture        = TextureManager.LoadTexture(EvilTools.GetExecutingPath(@"MapEditor\Tiles\" + tile.Id + ".png"));
     if (Texture == null)
     {
         Texture = TextureManager.LoadTexture(EvilTools.GetExecutingPath(@"MapEditor\Tiles\unknown.png"));
     }
 }