C# Class TMXGlueLib.DataTypes.ReducedTileMapInfo

Afficher le fichier Open project: vchelaru/FlatRedBall Class Usage Examples

Méthodes publiques

Свойство Type Description
CellHeightInPixels ushort
CellWidthInPixels ushort
Layers List
NumberCellsTall int
NumberCellsWide int
NumberOfLayers uint
QuadHeight float
QuadWidth float
VersionNumber int

Méthodes publiques

Méthode Description
FromFile ( string fileName ) : ReducedTileMapInfo
FromTiledMapSave ( TiledMapSave tiledMapSave, float scale, float zOffset, string directory, FileReferenceType referenceType ) : ReducedTileMapInfo

Converts a TiledMapSave to a ReducedTileMapInfo object

GetReferencedFiles ( ) : List
ReadFrom ( BinaryReader reader ) : ReducedTileMapInfo
ToString ( ) : string
WriteTo ( BinaryWriter writer ) : void

Private Methods

Méthode Description
SetQuadWidthAndHeight ( ReducedTileMapInfo toReturn, SceneSave ses ) : void

Method Details

FromFile() public static méthode

public static FromFile ( string fileName ) : ReducedTileMapInfo
fileName string
Résultat ReducedTileMapInfo

FromTiledMapSave() public static méthode

Converts a TiledMapSave to a ReducedTileMapInfo object
public static FromTiledMapSave ( TiledMapSave tiledMapSave, float scale, float zOffset, string directory, FileReferenceType referenceType ) : ReducedTileMapInfo
tiledMapSave TiledMapSave The TiledMapSave to convert
scale float The amount to scale by - default of 1
zOffset float The zOffset
directory string The directory of the file associated with the tiledMapSave, used to find file references.
referenceType FileReferenceType How the files in the .tmx are referenced.
Résultat ReducedTileMapInfo

GetReferencedFiles() public méthode

public GetReferencedFiles ( ) : List
Résultat List

ReadFrom() public static méthode

public static ReadFrom ( BinaryReader reader ) : ReducedTileMapInfo
reader BinaryReader
Résultat ReducedTileMapInfo

ToString() public méthode

public ToString ( ) : string
Résultat string

WriteTo() public méthode

public WriteTo ( BinaryWriter writer ) : void
writer BinaryWriter
Résultat void

Property Details

CellHeightInPixels public_oe property

public ushort CellHeightInPixels
Résultat ushort

CellWidthInPixels public_oe property

public ushort CellWidthInPixels
Résultat ushort

Layers public_oe property

public List Layers
Résultat List

NumberCellsTall public_oe property

public int NumberCellsTall
Résultat int

NumberCellsWide public_oe property

public int NumberCellsWide
Résultat int

NumberOfLayers public_oe property

public uint NumberOfLayers
Résultat uint

QuadHeight public_oe property

public float QuadHeight
Résultat float

QuadWidth public_oe property

public float QuadWidth
Résultat float

VersionNumber public_oe property

public int VersionNumber
Résultat int