C# Class WaveFrogger.Behaviors.PlayerBehavior

Inheritance: Behavior
显示文件 Open project: WaveEngine/QuickStarters

Private Properties

Property Type Description
BackToInitial void
CheckObstacledPosition bool
UpdateScore void

Public Methods

Method Description
AnimatedScaleY ( float desiredScale, float speed ) : void
MoveDown ( ) : void
MoveLeft ( ) : void
MoveRight ( ) : void
MoveUp ( ) : void
PlayerBehavior ( ) : System

Protected Methods

Method Description
ResolveDependencies ( ) : void
Update ( System.TimeSpan gameTime ) : void

Private Methods

Method Description
BackToInitial ( ) : void
CheckObstacledPosition ( System.Vector3 targetPosition ) : bool
UpdateScore ( ) : void

Method Details

AnimatedScaleY() public method

public AnimatedScaleY ( float desiredScale, float speed ) : void
desiredScale float
speed float
return void

MoveDown() public method

public MoveDown ( ) : void
return void

MoveLeft() public method

public MoveLeft ( ) : void
return void

MoveRight() public method

public MoveRight ( ) : void
return void

MoveUp() public method

public MoveUp ( ) : void
return void

PlayerBehavior() public method

public PlayerBehavior ( ) : System
return System

ResolveDependencies() protected method

protected ResolveDependencies ( ) : void
return void

Update() protected method

protected Update ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan
return void