Beispiel #1
0
 public static TileMap LoadCharsMap(string resName, int tileWidth,
                                    int tileHeight)
 {
     return(new TileMap(TileMapConfig.LoadCharsField(resName, tileWidth,
                                                     tileHeight)));
 }
Beispiel #2
0
 public TileMap(string fileName, int tileWidth, int tileHeight, int mWidth,
                int mHeight, Loon.Core.Graphics.Opengl.LTexture.Format format) : this(TileMapConfig.LoadAthwartArray(fileName), tileWidth, tileHeight,
                                                                                      mWidth, mHeight, format)
 {
 }
Beispiel #3
0
 public TileMap(string fileName, int tileWidth, int tileHeight, int mWidth,
                int mHeight)
     : this(TileMapConfig.LoadAthwartArray(fileName), tileWidth, tileHeight,
            mWidth, mHeight)
 {
 }