C# Класс MrGravity.Import_Code.EntityInfo

This class represents the inbetween stage of XML and translated GameObject
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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