C# Class FSO.LotView.WorldComponent

Mostrar archivo Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
ID long
Level sbyte
TileX short
TileY short

Protected Properties

Property Type Description
_Position Vector3
_World Matrix
_WorldDirty bool

Public Methods

Method Description
Draw ( GraphicsDevice device, FSO.LotView.WorldState world ) : void
Initialize ( GraphicsDevice device, FSO.LotView.WorldState world ) : void
OnPositionChanged ( ) : void
OnRotationChanged ( FSO.LotView.WorldState world ) : void
OnScrollChanged ( FSO.LotView.WorldState world ) : void
OnWorldChanged ( FSO.LotView.WorldState world ) : void
OnZoomChanged ( FSO.LotView.WorldState world ) : void
Update ( GraphicsDevice device, FSO.LotView.WorldState world ) : void

Method Details

Draw() public abstract method

public abstract Draw ( GraphicsDevice device, FSO.LotView.WorldState world ) : void
device GraphicsDevice
world FSO.LotView.WorldState
return void

Initialize() public method

public Initialize ( GraphicsDevice device, FSO.LotView.WorldState world ) : void
device GraphicsDevice
world FSO.LotView.WorldState
return void

OnPositionChanged() public method

public OnPositionChanged ( ) : void
return void

OnRotationChanged() public method

public OnRotationChanged ( FSO.LotView.WorldState world ) : void
world FSO.LotView.WorldState
return void

OnScrollChanged() public method

public OnScrollChanged ( FSO.LotView.WorldState world ) : void
world FSO.LotView.WorldState
return void

OnWorldChanged() public method

public OnWorldChanged ( FSO.LotView.WorldState world ) : void
world FSO.LotView.WorldState
return void

OnZoomChanged() public method

public OnZoomChanged ( FSO.LotView.WorldState world ) : void
world FSO.LotView.WorldState
return void

Update() public method

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

Property Details

ID public_oe property

public long ID
return long

Level public_oe property

public sbyte Level
return sbyte

TileX public_oe property

public short TileX
return short

TileY public_oe property

public short TileY
return short

_Position protected_oe property

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

_World protected_oe property

protected Matrix _World
return Matrix

_WorldDirty protected_oe property

protected bool _WorldDirty
return bool