C# Class SmashBros.Controllers.MoveController

Inheritance: Controller
Mostrar archivo Open project: Grutn/TDT4240-X2 Class Usage Examples

Public Methods

Method Description
Deactivate ( ) : void
EndMove ( MoveModel move ) : void
Freeze ( ) : void
Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
MoveController ( ScreenManager screen, CharacterStats characterStats, int index ) : System
OnNext ( GameStateManager value ) : void
RemoveMove ( MoveModel move ) : void
StartMove ( Vector2 characterPosition, Vector2 characterVelocity, MoveModel move ) : void
UnFreeze ( ) : void
Unload ( ) : void
Update ( Microsoft gameTime ) : void
newMove ( MoveStats stats, bool right ) : MoveModel

Private Methods

Method Description
Collision ( Fixture moveFixture, Fixture geom2, Contact list ) : bool
Explode ( Explotion explotion, Vector2 pos ) : void
ExplodeHit ( Fixture explotionFixture, Fixture characterFixture, Contact list ) : bool

Method Details

Deactivate() public method

public Deactivate ( ) : void
return void

EndMove() public method

public EndMove ( MoveModel move ) : void
move SmashBros.Models.MoveModel
return void

Freeze() public method

public Freeze ( ) : void
return void

Load() public method

public Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
return void

MoveController() public method

public MoveController ( ScreenManager screen, CharacterStats characterStats, int index ) : System
screen SmashBros.MySystem.ScreenManager
characterStats SmashBros.Models.CharacterStats
index int
return System

OnNext() public method

public OnNext ( GameStateManager value ) : void
value GameStateManager
return void

RemoveMove() public method

public RemoveMove ( MoveModel move ) : void
move SmashBros.Models.MoveModel
return void

StartMove() public method

public StartMove ( Vector2 characterPosition, Vector2 characterVelocity, MoveModel move ) : void
characterPosition Vector2
characterVelocity Vector2
move SmashBros.Models.MoveModel
return void

UnFreeze() public method

public UnFreeze ( ) : void
return void

Unload() public method

public Unload ( ) : void
return void

Update() public method

public Update ( Microsoft gameTime ) : void
gameTime Microsoft
return void

newMove() public method

public newMove ( MoveStats stats, bool right ) : MoveModel
stats MoveStats
right bool
return SmashBros.Models.MoveModel