C# Class Dischord.Enemy

Inheritance: Entity
Exibir arquivo Open project: jbrownbridge/Dischord Class Usage Examples

Protected Properties

Property Type Description
speed int
wait int

Public Methods

Method Description
ChangePos ( Vector2 position ) : void
Draw ( GameTime gameTime ) : void
Enemy ( Vector2 position, Microsoft.Xna.Framework.Graphics.Sprite sprite ) : System
Immobilize ( ) : void
IsMobile ( ) : System.Boolean
Mobilize ( ) : void
toChar ( ) : char

Method Details

ChangePos() public method

public ChangePos ( Vector2 position ) : void
position Vector2
return void

Draw() public method

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

Enemy() public method

public Enemy ( Vector2 position, Microsoft.Xna.Framework.Graphics.Sprite sprite ) : System
position Vector2
sprite Microsoft.Xna.Framework.Graphics.Sprite
return System

Immobilize() public method

public Immobilize ( ) : void
return void

IsMobile() public method

public IsMobile ( ) : System.Boolean
return System.Boolean

Mobilize() public method

public Mobilize ( ) : void
return void

toChar() public method

public toChar ( ) : char
return char

Property Details

speed protected_oe property

protected int speed
return int

wait protected_oe property

protected int wait
return int