C# Class MrGravity.Import_Code.EntityInfo

This class represents the inbetween stage of XML and translated GameObject
Afficher le fichier Open project: DizWARE/Mr-Gravity Class Usage Examples

Méthodes publiques

Свойство Type Description
MCollisionType string
MId int
MLocation Microsoft.Xna.Framework.Vector2
MName string
MProperties string>.Dictionary
MTextureFile string
MTrigger bool
MType string

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
EntityInfo ( string name, Vector2 startLocation ) : System.Collections.Generic

Method Details

CreatePlayerEndInfo() public static méthode

public static CreatePlayerEndInfo ( Vector2 startLocation ) : EntityInfo
startLocation Microsoft.Xna.Framework.Vector2
Résultat EntityInfo

CreatePlayerInfo() public static méthode

public static CreatePlayerInfo ( Vector2 startLocation ) : EntityInfo
startLocation Microsoft.Xna.Framework.Vector2
Résultat EntityInfo

CreateWallInfo() public static méthode

public static CreateWallInfo ( ) : EntityInfo
Résultat EntityInfo

EntityInfo() public méthode

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
Résultat System.Collections.Generic

Property Details

MCollisionType public_oe property

public string MCollisionType
Résultat string

MId public_oe property

public int MId
Résultat int

MLocation public_oe property

public Vector2,Microsoft.Xna.Framework MLocation
Résultat Microsoft.Xna.Framework.Vector2

MName public_oe property

public string MName
Résultat string

MProperties public_oe property

public Dictionary MProperties
Résultat string>.Dictionary

MTextureFile public_oe property

public string MTextureFile
Résultat string

MTrigger public_oe property

public bool MTrigger
Résultat bool

MType public_oe property

public string MType
Résultat string