C# Class FSO.LotView.Components.EntityComponent

Inheritance: WorldComponent
显示文件 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_oe property

public EntityComponent,FSO.LotView.Components Container
return EntityComponent

ContainerSlot public_oe property

public int ContainerSlot
return int

Headline public_oe property

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

ObjectID public_oe property

public short ObjectID
return short

_Position protected_oe property

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

_Visible protected_oe property

protected bool _Visible
return bool