C# Class MarioObjects.Objects.GameObjects.Mario

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

Méthodes publiques

Свойство Type Description
BlinkValue int
Blinking System.Boolean
BlinkingShow System.Boolean
ControlPressed System.Boolean
CurrentPosition double
Direction MarioDir
FireBallIndex int
FireBalls List
Jumping System.Boolean
MoveState MarioMoveState
Moving System.Boolean
OldPosition double
StartPosition double
StartVelocity double
State MarioJumpState
TimeCount double
Type MarioType
UpPressed System.Boolean
XAdd double
XCount double

Méthodes publiques

Méthode Description
CalcMarioJumpPosition ( ) : double
Draw ( ) : void
GetLEObject ( ) : LevelEditorObject
GetObjectRect ( ) : Rectangle
Intersection ( Collision c, GraphicObject g ) : void
Intersection_None ( ) : void
IsBrickExistOnSidesLeft ( ) : bool
IsBrickExistOnSidesRight ( ) : bool
Mario ( int x, int y ) : System
MarioDie ( ) : void
MarioFireBall ( ) : void
MarioMove ( MarioMoveState s ) : void
OnAnimate ( object sender, EventArgs e ) : void
OnCheckCollisions ( Object sender, EventArgs e ) : void
OnJumpTick ( Object sender, EventArgs e ) : void
OnMoveTick ( Object sender, EventArgs e ) : void
SetDirections ( ) : void
SetLEObject ( LevelEditorObject le ) : Mario
SetMarioProperties ( ) : void
SetX ( int x ) : void
StartBlinking ( ) : void
StartJump ( System.Boolean Kill, double DefeaultVelocity ) : void
StopJump ( ) : void
StopMove ( ) : void

Method Details

CalcMarioJumpPosition() public méthode

public CalcMarioJumpPosition ( ) : double
Résultat double

Draw() public méthode

public Draw ( ) : void
Résultat void

GetLEObject() public static méthode

public static GetLEObject ( ) : LevelEditorObject
Résultat LevelEditorObject

GetObjectRect() public méthode

public GetObjectRect ( ) : Rectangle
Résultat System.Drawing.Rectangle

Intersection() public méthode

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

Intersection_None() public méthode

public Intersection_None ( ) : void
Résultat void

IsBrickExistOnSidesLeft() public méthode

public IsBrickExistOnSidesLeft ( ) : bool
Résultat bool

IsBrickExistOnSidesRight() public méthode

public IsBrickExistOnSidesRight ( ) : bool
Résultat bool

Mario() public méthode

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

MarioDie() public méthode

public MarioDie ( ) : void
Résultat void

MarioFireBall() public méthode

public MarioFireBall ( ) : void
Résultat void

MarioMove() public méthode

public MarioMove ( MarioMoveState s ) : void
s MarioMoveState
Résultat void

OnAnimate() public méthode

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

OnCheckCollisions() public méthode

public OnCheckCollisions ( Object sender, EventArgs e ) : void
sender Object
e System.EventArgs
Résultat void

OnJumpTick() public méthode

public OnJumpTick ( Object sender, EventArgs e ) : void
sender Object
e System.EventArgs
Résultat void

OnMoveTick() public méthode

public OnMoveTick ( Object sender, EventArgs e ) : void
sender Object
e System.EventArgs
Résultat void

SetDirections() public méthode

public SetDirections ( ) : void
Résultat void

SetLEObject() public static méthode

public static SetLEObject ( LevelEditorObject le ) : Mario
le LevelEditorObject
Résultat Mario

SetMarioProperties() public méthode

public SetMarioProperties ( ) : void
Résultat void

SetX() public méthode

public SetX ( int x ) : void
x int
Résultat void

StartBlinking() public méthode

public StartBlinking ( ) : void
Résultat void

StartJump() public méthode

public StartJump ( System.Boolean Kill, double DefeaultVelocity ) : void
Kill System.Boolean
DefeaultVelocity double
Résultat void

StopJump() public méthode

public StopJump ( ) : void
Résultat void

StopMove() public méthode

public StopMove ( ) : void
Résultat void

Property Details

BlinkValue public_oe property

public int BlinkValue
Résultat int

Blinking public_oe property

public Boolean,System Blinking
Résultat System.Boolean

BlinkingShow public_oe property

public Boolean,System BlinkingShow
Résultat System.Boolean

ControlPressed public_oe property

public Boolean,System ControlPressed
Résultat System.Boolean

CurrentPosition public_oe property

public double CurrentPosition
Résultat double

Direction public_oe property

public MarioDir Direction
Résultat MarioDir

FireBallIndex public_oe property

public int FireBallIndex
Résultat int

FireBalls public_oe property

public List FireBalls
Résultat List

Jumping public_oe property

public Boolean,System Jumping
Résultat System.Boolean

MoveState public_oe property

public MarioMoveState MoveState
Résultat MarioMoveState

Moving public_oe property

public Boolean,System Moving
Résultat System.Boolean

OldPosition public_oe property

public double OldPosition
Résultat double

StartPosition public_oe property

public double StartPosition
Résultat double

StartVelocity public_oe property

public double StartVelocity
Résultat double

State public_oe property

public MarioJumpState State
Résultat MarioJumpState

TimeCount public_oe property

public double TimeCount
Résultat double

Type public_oe property

public MarioType Type
Résultat MarioType

UpPressed public_oe property

public Boolean,System UpPressed
Résultat System.Boolean

XAdd public_oe property

public double XAdd
Résultat double

XCount public_oe property

public double XCount
Résultat double