C# Class Pokemon3D.Entities.Components.PlayerControllerComponent

Inheritance: EntityComponent
Exibir arquivo Open project: nilllzz/Pokemon3D Class Usage Examples

Public Methods

Method Description
Clone ( System.Entity target ) : EntityComponent
PlayerControllerComponent ( System.Entity referringEntity ) : System
PlayerControllerComponent ( EntityComponentDataCreationStruct parameters ) : System
Update ( GameTime gameTime ) : void

Private Methods

Method Description
HandleFirstPersonMovement ( float elapsedTime, Microsoft.Xna.Framework.Input.MouseState mouseState, Vector3 movementDirection ) : void
HandleGodModeMovement ( float elapsedTime, Microsoft.Xna.Framework.Input.MouseState mouseState, Vector3 movementDirection ) : void
HandleThirdPersonMovement ( float elapsedTime, Microsoft.Xna.Framework.Input.MouseState mouseState, Vector3 movementDirection ) : void
OnMovementModeChanged ( ) : void

Method Details

Clone() public method

public Clone ( System.Entity target ) : EntityComponent
target System.Entity
return EntityComponent

PlayerControllerComponent() public method

public PlayerControllerComponent ( System.Entity referringEntity ) : System
referringEntity System.Entity
return System

PlayerControllerComponent() public method

public PlayerControllerComponent ( EntityComponentDataCreationStruct parameters ) : System
parameters Pokemon3D.Entities.System.EntityComponentDataCreationStruct
return System

Update() public method

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