C# Class MarioObjects.Objects.BaseObjects.Level

Afficher le fichier Open project: jazzyjester/Mario-Game Class Usage Examples

Méthodes publiques

Свойство Type Description
AvailableRect System.Drawing.Rectangle
ButtomLeft Point
ButtomRight Point
ChangeFlagDrawBackground System.Boolean
DEST System.Drawing.Rectangle
DrawCountPerCycle int
IntersectsEvents List
LevelBitmap System.Drawing.Bitmap
MarioObject MarioObjects.Objects.GameObjects.Mario
Objects List
SRC System.Drawing.Rectangle
TopLeft Point
TopRight Point
Visitor_Check_Object_Enabled MarioObjects.Objects.Patterns.VisitorCheckObjectEnabled
width int

Méthodes publiques

Méthode Description
AcceptVisitor ( VisitorObject V ) : void
AddObject ( GraphicObject g ) : void
AddObject ( int x, int y, GraphicObject Object ) : void
CheckLevelCollisions ( Object sender, EventArgs e ) : void
Contains ( Point Src, Rectangle Dest ) : System.Boolean
Draw ( ) : void
DrawBackground ( ) : void
DrawBackground ( Rectangle Rect ) : void
GetAvailableObjectRec ( ) : Rectangle
Intersects ( GraphicObject SrcObject, GraphicObject DestObject ) : Collision
Level ( ) : System
UpdateX ( int value ) : void
UpdateY ( int value ) : void
Update_ScreensX ( ) : void
Update_ScreensY ( ) : void

Method Details

AcceptVisitor() public méthode

public AcceptVisitor ( VisitorObject V ) : void
V MarioObjects.Objects.Patterns.VisitorObject
Résultat void

AddObject() public méthode

public AddObject ( GraphicObject g ) : void
g GraphicObject
Résultat void

AddObject() public méthode

public AddObject ( int x, int y, GraphicObject Object ) : void
x int
y int
Object GraphicObject
Résultat void

CheckLevelCollisions() public méthode

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

Contains() public méthode

public Contains ( Point Src, Rectangle Dest ) : System.Boolean
Src Point
Dest System.Drawing.Rectangle
Résultat System.Boolean

Draw() public méthode

public Draw ( ) : void
Résultat void

DrawBackground() public méthode

public DrawBackground ( ) : void
Résultat void

DrawBackground() public méthode

public DrawBackground ( Rectangle Rect ) : void
Rect System.Drawing.Rectangle
Résultat void

GetAvailableObjectRec() public méthode

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

Intersects() public méthode

public Intersects ( GraphicObject SrcObject, GraphicObject DestObject ) : Collision
SrcObject GraphicObject
DestObject GraphicObject
Résultat Collision

Level() public méthode

public Level ( ) : System
Résultat System

UpdateX() public méthode

public UpdateX ( int value ) : void
value int
Résultat void

UpdateY() public méthode

public UpdateY ( int value ) : void
value int
Résultat void

Update_ScreensX() public méthode

public Update_ScreensX ( ) : void
Résultat void

Update_ScreensY() public méthode

public Update_ScreensY ( ) : void
Résultat void

Property Details

AvailableRect public_oe property

public Rectangle,System.Drawing AvailableRect
Résultat System.Drawing.Rectangle

ButtomLeft public_oe property

public Point ButtomLeft
Résultat Point

ButtomRight public_oe property

public Point ButtomRight
Résultat Point

ChangeFlagDrawBackground public_oe property

public Boolean,System ChangeFlagDrawBackground
Résultat System.Boolean

DEST public_oe property

public Rectangle,System.Drawing DEST
Résultat System.Drawing.Rectangle

DrawCountPerCycle public_oe property

public int DrawCountPerCycle
Résultat int

IntersectsEvents public_oe property

public List IntersectsEvents
Résultat List

LevelBitmap public_oe property

public Bitmap,System.Drawing LevelBitmap
Résultat System.Drawing.Bitmap

MarioObject public_oe property

public Mario,MarioObjects.Objects.GameObjects MarioObject
Résultat MarioObjects.Objects.GameObjects.Mario

Objects public_oe property

public List Objects
Résultat List

SRC public_oe property

public Rectangle,System.Drawing SRC
Résultat System.Drawing.Rectangle

TopLeft public_oe property

public Point TopLeft
Résultat Point

TopRight public_oe property

public Point TopRight
Résultat Point

Visitor_Check_Object_Enabled public_oe property

public VisitorCheckObjectEnabled,MarioObjects.Objects.Patterns Visitor_Check_Object_Enabled
Résultat MarioObjects.Objects.Patterns.VisitorCheckObjectEnabled

width public_oe property

public int width
Résultat int