Punkman X1 API

Map Members

Map overview

Public Static Fields

EmptyPoint Safe empty point constant. It is used by FindStartPoint and FindEndPoint method

Public Static Methods

ConvertOverloaded. Converte world-coordinate to map-coordinate

Private Static Constructor

Map Constructor Initializes the static fields of the Map class.

Public Instance Constructors

Map Overloaded. Initializes a new instance of the Map class.

Public Instance Properties

Data Access real container of MapCell
DataHeight height of map
DataWidth width of map
Item Access cell by Point

Public Instance Methods

FindEndPoint Find end point
FindStartPoint Find start point
HasItem Has pickable items
Load Load map form file
LoadXML Loads map from XML file
MonsterCount Count of monsters
PickableItemCount Count of pickable items
RenderOverloaded. Draw part of unit cube
RenderCell Draw part of map cell
RenderToGraphics Draw map layout
Save Save map into file
SaveXML Saves map as XML file
SetCells Copy cells

Private Instance Fields

data Real container
dataHeight height of map
dataWidth width of map
dev Direct3D device
texMgr texture manager object
vertexBuffer Vertex buffer for unit cube

Private Instance Methods

CreateAttrOverloaded. Creates attribute of XmlNode
GetAttrInt Returns integer value of XmlNode attribute
OnCreateBuffer Device Reset resurection

See Also

Map Class | PunkMan.Shared Namespace