C# Class FSO.LotView.Components.ObjectComponent

Inheritance: EntityComponent
Show file Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
AdjacentWall WallSegments
ContainerSlots List
CutawayTests Point>.Dictionary
DynamicCounter int
HideForCutaway bool
Obj GameObject
blueprint FSO.LotView.Model.Blueprint
renderInfo WorldObjectRenderInfo

Private Properties

Property Type Description

Public Methods

Method Description
Draw ( GraphicsDevice device, WorldState world ) : void
GetSLOTPosition ( int slot ) : Vector3
GetScreenPos ( WorldState world ) : Vector2
ObjectComponent ( GameObject obj ) : System
OnRotationChanged ( WorldState world ) : void
OnScrollChanged ( WorldState world ) : void
OnZoomChanged ( WorldState world ) : void
Update ( GraphicsDevice device, WorldState world ) : void
ValidateSprite ( WorldState world ) : void

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 method

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

ObjectComponent() public method

public ObjectComponent ( GameObject obj ) : System
obj GameObject
return System

OnRotationChanged() public method

public OnRotationChanged ( WorldState world ) : void
world WorldState
return void

OnScrollChanged() public method

public OnScrollChanged ( WorldState world ) : void
world WorldState
return void

OnZoomChanged() public method

public OnZoomChanged ( WorldState world ) : void
world WorldState
return void

Update() public method

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

ValidateSprite() public method

public ValidateSprite ( WorldState world ) : void
world WorldState
return void

Property Details

AdjacentWall public property

public WallSegments AdjacentWall
return WallSegments

ContainerSlots public property

public List ContainerSlots
return List

CutawayTests public static property

public static Dictionary CutawayTests
return Point>.Dictionary

DynamicCounter public property

public int DynamicCounter
return int

HideForCutaway public property

public bool HideForCutaway
return bool

Obj public property

public GameObject Obj
return GameObject

blueprint public property

public Blueprint,FSO.LotView.Model blueprint
return FSO.LotView.Model.Blueprint

renderInfo public property

public WorldObjectRenderInfo renderInfo
return WorldObjectRenderInfo