public TiledMooseMap(string name, int width, int height, int tileWidth, int tileHeight, TiledMapTileDrawOrder renderOrder = TiledMapTileDrawOrder.RightDown, TiledMapOrientation orientation = TiledMapOrientation.Orthogonal, Color?backgroundColor = null) : this(new TiledMap(name, width, height, tileWidth, tileHeight, renderOrder, orientation, backgroundColor)) { BuildLayerCache(); }
public TiledMap(string name, int width, int height, int tileWidth, int tileHeight, TiledMapTileDrawOrder renderOrder, TiledMapOrientation orientation) : this() { Name = name; Width = width; Height = height; TileWidth = tileWidth; TileHeight = tileHeight; RenderOrder = renderOrder; Orientation = orientation; }
public TiledMap(string name, int width, int height, int tileWidth, int tileHeight, TiledMapTileDrawOrder renderOrder, TiledMapOrientation orientation, Color?backgroundColor = null) : this() { Name = name; Width = width; Height = height; TileWidth = tileWidth; TileHeight = tileHeight; RenderOrder = renderOrder; Orientation = orientation; BackgroundColor = backgroundColor; }
public CustomTiledMap( int firstGid, int width, int height, int tileWidth, int tileHeight, TiledMapOrientation orientation = TiledMapOrientation.Orthogonal) : base( firstGid, width, height, tileWidth, tileHeight ) { }
public TiledMap( int firstGid, int width, int height, int tileWidth, int tileHeight, TiledMapOrientation orientation = TiledMapOrientation.Orthogonal) { this.firstGid = firstGid; this.width = width; this.height = height; this.tileWidth = tileWidth; this.tileHeight = tileHeight; this.orientation = orientation; }
public TiledMap(GraphicsDevice graphicsDevice, int width, int height, int tileWidth, int tileHeight, TiledMapOrientation orientation = TiledMapOrientation.Orthogonal) { _graphicsDevice = graphicsDevice; _layers = new List <TiledLayer>(); _objectGroups = new List <TiledObjectGroup>(); _tilesets = new List <TiledTileset>(); Width = width; Height = height; TileWidth = tileWidth; TileHeight = tileHeight; Properties = new TiledProperties(); Orientation = orientation; }
public TiledMap(GraphicsDevice graphicsDevice, int width, int height, int tileWidth, int tileHeight, TiledMapOrientation orientation = TiledMapOrientation.Orthogonal) { _graphicsDevice = graphicsDevice; _renderTarget = new RenderTarget2D(graphicsDevice, width * tileWidth, height * tileHeight); _spriteBatch = new SpriteBatch(graphicsDevice); _layers = new List <TiledLayer>(); _tilesets = new List <TiledTileset>(); Width = width; Height = height; TileWidth = tileWidth; TileHeight = tileHeight; Properties = new TiledProperties(); Orientation = orientation; }
public TiledMap(GraphicsDevice graphicsDevice, int width, int height, int tileWidth, int tileHeight, TiledMapOrientation orientation = TiledMapOrientation.Orthogonal) { Width = width; Height = height; TileWidth = tileWidth; TileHeight = tileHeight; Properties = new TiledProperties(); _graphicsDevice = graphicsDevice; _layers = new List<TiledLayer>(); _tilesets = new List<TiledTileset>(); Orientation = orientation; }
public TiledMap( int firstGid, int width, int height, int tileWidth, int tileHeight, TiledMapOrientation orientation = TiledMapOrientation.Orthogonal) { this.firstGid = firstGid; this.width = width; this.height = height; this.tileWidth = tileWidth; this.tileHeight = tileHeight; properties = new Dictionary <string, string>(); layers = new List <TiledLayer>(); _tilesets = new List <TiledTileset>(); objectGroups = new List <TiledObjectGroup>(); this.orientation = orientation; }