• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Inferno
    • CollisionMode
    • DrawMode
    • Game
    • Game.OnResizeEventArgs
    • GameState
    • GameState.StateOnDrawEventArgs
    • GameWindow
    • Instance
    • MathHelper
    • Matrix
    • Point
    • Rectangle
    • Settings
    • SpatialMode
    • UpdateMode
    • Vector2
    • Vector3
    • Vector4
  • Inferno.Audio
    • AudioDevice
    • Sound
  • Inferno.Content
    • ContentLoader
  • Inferno.Formats.Audio
    • WaveFormat
  • Inferno.Formats.Graphics.Text
    • FontFormat
  • Inferno.Graphics
    • Camera
    • Color
    • GraphicsDevice
    • PlatformType
    • Renderable
    • RenderableType
    • Renderer
    • RenderSortMode
    • RenderTarget
    • Shader
    • ShaderLanguage
    • ShaderType
    • Sprite
    • Texture2D
    • Tileset
  • Inferno.Graphics.Text
    • Font
    • FontBuilder
  • Inferno.Input
    • ButtonState
    • Key
    • Keyboard
    • Keyboard.KeyEventArgs
    • KeyboardState
    • KeyState
    • Mouse
    • MouseState
  • Inferno.Tiled
    • RenderOrder
    • TiledLayer
    • TiledLayerChunk
    • TiledLoader
    • TiledMap
    • TiledMapOrientation
    • TiledObject
    • TiledObjectLayer
    • TiledVersion
  • Inferno.UI
    • MessageBox
    • MessageBoxType
    • UserInterface
  • Inferno.UI.Controls
    • Button
    • Control
    • Control.ControlClickedEvent
    • Control.ControlHoveredEvent
    • Control.TextChangedEventArgs
    • ControlState
    • Cursor
    • Label

Struct TiledMap

A Tiled map. Must be CSV formatted. Objects are loaded but must be manually implemented.

Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Inferno.Tiled
Assembly: Inferno.Desktop.dll
Syntax
public struct TiledMap

Fields

| Improve this Doc View Source

Height

The height of the map

Declaration
public int Height
Field Value
Type Description
System.Int32
| Improve this Doc View Source

Infinite

Whether or not the map is infinite

Declaration
public bool Infinite
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

Layers

The layers inside the map

Declaration
public List<TiledLayer> Layers
Field Value
Type Description
System.Collections.Generic.List<TiledLayer>
| Improve this Doc View Source

ObjectLayers

The object layers inside the map

Declaration
public List<TiledObjectLayer> ObjectLayers
Field Value
Type Description
System.Collections.Generic.List<TiledObjectLayer>
| Improve this Doc View Source

Orientation

The orientation of the map

Declaration
public TiledMapOrientation Orientation
Field Value
Type Description
TiledMapOrientation
| Improve this Doc View Source

RenderOrder

The render order of the map

Declaration
public RenderOrder RenderOrder
Field Value
Type Description
RenderOrder
| Improve this Doc View Source

TileHeight

The height of the tiles in the map

Declaration
public int TileHeight
Field Value
Type Description
System.Int32
| Improve this Doc View Source

Tileset

The tileset used in the map

Declaration
public Tileset Tileset
Field Value
Type Description
Tileset
| Improve this Doc View Source

TileWidth

The width of the tiles in the map

Declaration
public int TileWidth
Field Value
Type Description
System.Int32
| Improve this Doc View Source

Width

The width of the map

Declaration
public int Width
Field Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

DrawMap(Renderer)

Draw the entire map

Declaration
public void DrawMap(Renderer renderer)
Parameters
Type Name Description
Renderer renderer
  • Improve this Doc
  • View Source
Back to top Generated by DocFX