C# Class SpaceRun.Entity

ファイルを表示 Open project: zzorn/Spike3D

Public Methods

Method Description
Entity ( ) : System
LogicUpdate ( GameTime time, float t ) : void
Render ( GraphicsDeviceManager graphics, Matrix cameraViewMatrix, Matrix cameraProjectionMatrix ) : void
Update ( GameTime time ) : void
UpdateMovement ( float time ) : void
UpdatePhysics ( float time ) : void
getForwardVector ( ) : Vector3
getUpVector ( ) : Vector3
isDestroyed ( ) : bool

Private Methods

Method Description
calculateExternalForces ( ) : Vector3

Method Details

Entity() public method

public Entity ( ) : System
return System

LogicUpdate() public abstract method

public abstract LogicUpdate ( GameTime time, float t ) : void
time Microsoft.Xna.Framework.GameTime
t float
return void

Render() public method

public Render ( GraphicsDeviceManager graphics, Matrix cameraViewMatrix, Matrix cameraProjectionMatrix ) : void
graphics GraphicsDeviceManager
cameraViewMatrix Matrix
cameraProjectionMatrix Matrix
return void

Update() public method

public Update ( GameTime time ) : void
time Microsoft.Xna.Framework.GameTime
return void

UpdateMovement() public method

public UpdateMovement ( float time ) : void
time float
return void

UpdatePhysics() public method

public UpdatePhysics ( float time ) : void
time float
return void

getForwardVector() public method

public getForwardVector ( ) : Vector3
return Vector3

getUpVector() public method

public getUpVector ( ) : Vector3
return Vector3

isDestroyed() public method

public isDestroyed ( ) : bool
return bool