C# Class MarioObjects.Objects.GameObjects.FireBall

Inheritance: MarioObjects.Objects.BaseObjects.AnimatedGraphicObject
Afficher le fichier Open project: jazzyjester/Mario-Game Class Usage Examples

Méthodes publiques

Свойство Type Description
CntX double
Direction FireBallDir
Dirx int
Fire System.Boolean
OffX double
StartPosition double
StartVelocity double
Started System.Boolean
TimeCount double
Type FireBallType

Méthodes publiques

Méthode Description
CalcFireBallPosition ( ) : double
Draw ( ) : void
FireBall ( int x, int y ) : System
Intersection ( Collision c, GraphicObject g ) : void
OnAnimate ( object sender, EventArgs e ) : void
OnFire ( object sender, EventArgs e ) : void
RunFireBall ( int x, int y, FireBallType T, FireBallDir D ) : void
SetFireProperties ( ) : void
SetOffXY ( double x, double y ) : void
StartFireBall ( ) : void

Method Details

CalcFireBallPosition() public méthode

public CalcFireBallPosition ( ) : double
Résultat double

Draw() public méthode

public Draw ( ) : void
Résultat void

FireBall() public méthode

public FireBall ( int x, int y ) : System
x int
y int
Résultat System

Intersection() public méthode

public Intersection ( Collision c, GraphicObject g ) : void
c Collision
g MarioObjects.Objects.BaseObjects.GraphicObject
Résultat void

OnAnimate() public méthode

public OnAnimate ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

OnFire() public méthode

public OnFire ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

RunFireBall() public méthode

public RunFireBall ( int x, int y, FireBallType T, FireBallDir D ) : void
x int
y int
T FireBallType
D FireBallDir
Résultat void

SetFireProperties() public méthode

public SetFireProperties ( ) : void
Résultat void

SetOffXY() public méthode

public SetOffXY ( double x, double y ) : void
x double
y double
Résultat void

StartFireBall() public méthode

public StartFireBall ( ) : void
Résultat void

Property Details

CntX public_oe property

public double CntX
Résultat double

Direction public_oe property

public FireBallDir Direction
Résultat FireBallDir

Dirx public_oe property

public int Dirx
Résultat int

Fire public_oe property

public Boolean,System Fire
Résultat System.Boolean

OffX public_oe property

public double OffX
Résultat double

StartPosition public_oe property

public double StartPosition
Résultat double

StartVelocity public_oe property

public double StartVelocity
Résultat double

Started public_oe property

public Boolean,System Started
Résultat System.Boolean

TimeCount public_oe property

public double TimeCount
Résultat double

Type public_oe property

public FireBallType Type
Résultat FireBallType