C# 클래스 MrGravity.Import_Code.EntityInfo

This class represents the inbetween stage of XML and translated GameObject
파일 보기 프로젝트 열기: DizWARE/Mr-Gravity 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
MCollisionType string
MId int
MLocation Microsoft.Xna.Framework.Vector2
MName string
MProperties string>.Dictionary
MTextureFile string
MTrigger bool
MType string

공개 메소드들

메소드 설명
CreatePlayerEndInfo ( Vector2 startLocation ) : EntityInfo
CreatePlayerInfo ( Vector2 startLocation ) : EntityInfo
CreateWallInfo ( ) : EntityInfo
EntityInfo ( System.Xml.Linq.XElement entity ) : System.Collections.Generic

Creates an entity out of an XElement that defiens an entity

비공개 메소드들

메소드 설명
EntityInfo ( string name, Vector2 startLocation ) : System.Collections.Generic

메소드 상세

CreatePlayerEndInfo() 공개 정적인 메소드

public static CreatePlayerEndInfo ( Vector2 startLocation ) : EntityInfo
startLocation Microsoft.Xna.Framework.Vector2
리턴 EntityInfo

CreatePlayerInfo() 공개 정적인 메소드

public static CreatePlayerInfo ( Vector2 startLocation ) : EntityInfo
startLocation Microsoft.Xna.Framework.Vector2
리턴 EntityInfo

CreateWallInfo() 공개 정적인 메소드

public static CreateWallInfo ( ) : EntityInfo
리턴 EntityInfo

EntityInfo() 공개 메소드

Creates an entity out of an XElement that defiens an entity
public EntityInfo ( System.Xml.Linq.XElement entity ) : System.Collections.Generic
entity System.Xml.Linq.XElement The XML chunck that defines this entity
리턴 System.Collections.Generic

프로퍼티 상세

MCollisionType 공개적으로 프로퍼티

public string MCollisionType
리턴 string

MId 공개적으로 프로퍼티

public int MId
리턴 int

MLocation 공개적으로 프로퍼티

public Vector2,Microsoft.Xna.Framework MLocation
리턴 Microsoft.Xna.Framework.Vector2

MName 공개적으로 프로퍼티

public string MName
리턴 string

MProperties 공개적으로 프로퍼티

public Dictionary MProperties
리턴 string>.Dictionary

MTextureFile 공개적으로 프로퍼티

public string MTextureFile
리턴 string

MTrigger 공개적으로 프로퍼티

public bool MTrigger
리턴 bool

MType 공개적으로 프로퍼티

public string MType
리턴 string