示例#1
0
        public Camera(ref TileMap tilemap, int winWidth = 715, int winHeight = 553)
        {
            this.tileMap = tilemap;
            x = 0;
            y = 0;
            w = winWidth;
            h = winHeight;

            scrollSpeed = 20;
        }
示例#2
0
		public BattleMap(int Width = 100, int Height = 100)
		{
			tileMap = new TileMap(Width, Height, tileSize);
		}
示例#3
0
 public BattleMap(int Width = 100, int Height = 100)
 {
     tileMap = new TileMap(Width, Height, tileSize);
 }