C# Class Tyrus_and_Randall.Enemy

Inheritance: Entity
Exibir arquivo Open project: sgdc/sgdc-old

Public Methods

Method Description
CollisionChange ( ) : void
Enemy ( ) : System
Enemy ( Vector2 position ) : System
Enemy ( float x, float y ) : System
Update ( GameTime gameTime ) : void

Protected Methods

Method Description
GetIntersectionRectangle ( CollisionUnit A, CollisionUnit B ) : Vector2

Method Details

CollisionChange() public method

public CollisionChange ( ) : void
return void

Enemy() public method

public Enemy ( ) : System
return System

Enemy() public method

public Enemy ( Vector2 position ) : System
position Vector2
return System

Enemy() public method

public Enemy ( float x, float y ) : System
x float
y float
return System

GetIntersectionRectangle() protected static method

protected static GetIntersectionRectangle ( CollisionUnit A, CollisionUnit B ) : Vector2
A SGDE.Physics.Collision.CollisionUnit
B SGDE.Physics.Collision.CollisionUnit
return Vector2

Update() public method

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