C# Class FSO.LotView.Components.EntityComponent

Inheritance: WorldComponent
Show file Open project: RHY3756547/FreeSO

Public Properties

Property Type Description
Container EntityComponent
ContainerSlot int
Headline Microsoft.Xna.Framework.Graphics.Texture2D
ObjectID short

Protected Properties

Property Type Description
_Position Vector3
_Visible bool

Public Methods

Method Description
Draw ( GraphicsDevice device, WorldState world ) : void
GetSLOTPosition ( int slot ) : Vector3
GetScreenPos ( WorldState world ) : Vector2

Method Details

Draw() public method

public Draw ( GraphicsDevice device, WorldState world ) : void
device GraphicsDevice
world WorldState
return void

GetSLOTPosition() public method

public GetSLOTPosition ( int slot ) : Vector3
slot int
return Vector3

GetScreenPos() public abstract method

public abstract GetScreenPos ( WorldState world ) : Vector2
world WorldState
return Vector2

Property Details

Container public property

public EntityComponent,FSO.LotView.Components Container
return EntityComponent

ContainerSlot public property

public int ContainerSlot
return int

Headline public property

public Texture2D,Microsoft.Xna.Framework.Graphics Headline
return Microsoft.Xna.Framework.Graphics.Texture2D

ObjectID public property

public short ObjectID
return short

_Position protected property

Position of the object in tile units
protected Vector3 _Position
return Vector3

_Visible protected property

protected bool _Visible
return bool