C# Class Platformer.Laser.Mirror

Inheritance: Platformer.Tiles.Activator, IActivatable
Afficher le fichier Open project: zmthy/play-dead Class Usage Examples

Méthodes publiques

Méthode Description
ChangeState ( ) : void
ChangeState ( Player c, Microsoft keyState, InputManager inputManager ) : void
Draw ( Microsoft spriteBatch ) : void
IsActive ( ) : bool
Mirror ( Vector2 location, Microsoft.Xna.Framework.Content.ContentManager content ) : System
SetState ( bool active ) : void
Update ( Microsoft gameTime ) : void
addTarget ( Mirror m ) : void
getLocation ( ) : Vector2
getNext ( ) : Mirror
trigger ( ) : void
untrigger ( ) : void

Private Methods

Méthode Description
initialise ( Microsoft.Xna.Framework.Content.ContentManager content ) : void

Method Details

ChangeState() public méthode

public ChangeState ( ) : void
Résultat void

ChangeState() public méthode

public ChangeState ( Player c, Microsoft keyState, InputManager inputManager ) : void
c Player
keyState Microsoft
inputManager InputManager
Résultat void

Draw() public méthode

public Draw ( Microsoft spriteBatch ) : void
spriteBatch Microsoft
Résultat void

IsActive() public méthode

public IsActive ( ) : bool
Résultat bool

Mirror() public méthode

public Mirror ( Vector2 location, Microsoft.Xna.Framework.Content.ContentManager content ) : System
location Vector2
content Microsoft.Xna.Framework.Content.ContentManager
Résultat System

SetState() public méthode

public SetState ( bool active ) : void
active bool
Résultat void

Update() public méthode

public Update ( Microsoft gameTime ) : void
gameTime Microsoft
Résultat void

addTarget() public méthode

public addTarget ( Mirror m ) : void
m Mirror
Résultat void

getLocation() public méthode

public getLocation ( ) : Vector2
Résultat Vector2

getNext() public méthode

public getNext ( ) : Mirror
Résultat Mirror

trigger() public méthode

public trigger ( ) : void
Résultat void

untrigger() public méthode

public untrigger ( ) : void
Résultat void