C# 클래스 TMXGlueLib.DataTypes.ReducedTileMapInfo

파일 보기 프로젝트 열기: vchelaru/FlatRedBall 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CellHeightInPixels ushort
CellWidthInPixels ushort
Layers List
NumberCellsTall int
NumberCellsWide int
NumberOfLayers uint
QuadHeight float
QuadWidth float
VersionNumber int

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
SetQuadWidthAndHeight ( ReducedTileMapInfo toReturn, SceneSave ses ) : void

메소드 상세

FromFile() 공개 정적인 메소드

public static FromFile ( string fileName ) : ReducedTileMapInfo
fileName string
리턴 ReducedTileMapInfo

FromTiledMapSave() 공개 정적인 메소드

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.
리턴 ReducedTileMapInfo

GetReferencedFiles() 공개 메소드

public GetReferencedFiles ( ) : List
리턴 List

ReadFrom() 공개 정적인 메소드

public static ReadFrom ( BinaryReader reader ) : ReducedTileMapInfo
reader BinaryReader
리턴 ReducedTileMapInfo

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

WriteTo() 공개 메소드

public WriteTo ( BinaryWriter writer ) : void
writer BinaryWriter
리턴 void

프로퍼티 상세

CellHeightInPixels 공개적으로 프로퍼티

public ushort CellHeightInPixels
리턴 ushort

CellWidthInPixels 공개적으로 프로퍼티

public ushort CellWidthInPixels
리턴 ushort

Layers 공개적으로 프로퍼티

public List Layers
리턴 List

NumberCellsTall 공개적으로 프로퍼티

public int NumberCellsTall
리턴 int

NumberCellsWide 공개적으로 프로퍼티

public int NumberCellsWide
리턴 int

NumberOfLayers 공개적으로 프로퍼티

public uint NumberOfLayers
리턴 uint

QuadHeight 공개적으로 프로퍼티

public float QuadHeight
리턴 float

QuadWidth 공개적으로 프로퍼티

public float QuadWidth
리턴 float

VersionNumber 공개적으로 프로퍼티

public int VersionNumber
리턴 int