C# Class Platformer.Tiles.Light

Inheritance: IActivatable
Mostrar archivo Open project: zmthy/play-dead

Public Methods

Method Description
ChangeState ( ) : void
Draw ( GameTime gameTime, SpriteBatch spriteBatch ) : void
IsActive ( ) : bool
Light ( Vector2 position, Microsoft.Xna.Framework.Content.ContentManager content ) : System
SetState ( bool active ) : void
Update ( GameTime gameTime ) : void

Private Methods

Method Description
initialise ( Microsoft.Xna.Framework.Content.ContentManager content ) : void

Method Details

ChangeState() public method

public ChangeState ( ) : void
return void

Draw() public method

public Draw ( GameTime gameTime, SpriteBatch spriteBatch ) : void
gameTime Microsoft.Xna.Framework.GameTime
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

IsActive() public method

public IsActive ( ) : bool
return bool

Light() public method

public Light ( Vector2 position, Microsoft.Xna.Framework.Content.ContentManager content ) : System
position Vector2
content Microsoft.Xna.Framework.Content.ContentManager
return System

SetState() public method

public SetState ( bool active ) : void
active bool
return void

Update() public method

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