C# Class Danmaku_no_Kyojin.Collisions.CollisionElement

Datei anzeigen Open project: Noxalus/Danmaku-no-Kyojin Class Usage Examples

Public Methods

Method Description
Draw ( SpriteBatch sp ) : void
GetCenter ( ) : Vector2
Intersects ( CollisionElement collisionElement ) : bool

Protected Methods

Method Description
CollisionElement ( Entity parent, Vector2 relativePosition ) : System

Method Details

CollisionElement() protected method

protected CollisionElement ( Entity parent, Vector2 relativePosition ) : System
parent Entity
relativePosition Vector2
return System

Draw() public abstract method

public abstract Draw ( SpriteBatch sp ) : void
sp Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

GetCenter() public abstract method

public abstract GetCenter ( ) : Vector2
return Vector2

Intersects() public abstract method

public abstract Intersects ( CollisionElement collisionElement ) : bool
collisionElement CollisionElement
return bool