C# Class MarioObjects.Objects.BaseObjects.Level

ファイルを表示 Open project: jazzyjester/Mario-Game Class Usage Examples

Public Properties

Property 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

Public Methods

Method 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 method

public AcceptVisitor ( VisitorObject V ) : void
V MarioObjects.Objects.Patterns.VisitorObject
return void

AddObject() public method

public AddObject ( GraphicObject g ) : void
g GraphicObject
return void

AddObject() public method

public AddObject ( int x, int y, GraphicObject Object ) : void
x int
y int
Object GraphicObject
return void

CheckLevelCollisions() public method

public CheckLevelCollisions ( Object sender, EventArgs e ) : void
sender Object
e System.EventArgs
return void

Contains() public method

public Contains ( Point Src, Rectangle Dest ) : System.Boolean
Src Point
Dest System.Drawing.Rectangle
return System.Boolean

Draw() public method

public Draw ( ) : void
return void

DrawBackground() public method

public DrawBackground ( ) : void
return void

DrawBackground() public method

public DrawBackground ( Rectangle Rect ) : void
Rect System.Drawing.Rectangle
return void

GetAvailableObjectRec() public method

public GetAvailableObjectRec ( ) : Rectangle
return System.Drawing.Rectangle

Intersects() public method

public Intersects ( GraphicObject SrcObject, GraphicObject DestObject ) : Collision
SrcObject GraphicObject
DestObject GraphicObject
return Collision

Level() public method

public Level ( ) : System
return System

UpdateX() public method

public UpdateX ( int value ) : void
value int
return void

UpdateY() public method

public UpdateY ( int value ) : void
value int
return void

Update_ScreensX() public method

public Update_ScreensX ( ) : void
return void

Update_ScreensY() public method

public Update_ScreensY ( ) : void
return void

Property Details

AvailableRect public_oe property

public Rectangle,System.Drawing AvailableRect
return System.Drawing.Rectangle

ButtomLeft public_oe property

public Point ButtomLeft
return Point

ButtomRight public_oe property

public Point ButtomRight
return Point

ChangeFlagDrawBackground public_oe property

public Boolean,System ChangeFlagDrawBackground
return System.Boolean

DEST public_oe property

public Rectangle,System.Drawing DEST
return System.Drawing.Rectangle

DrawCountPerCycle public_oe property

public int DrawCountPerCycle
return int

IntersectsEvents public_oe property

public List IntersectsEvents
return List

LevelBitmap public_oe property

public Bitmap,System.Drawing LevelBitmap
return System.Drawing.Bitmap

MarioObject public_oe property

public Mario,MarioObjects.Objects.GameObjects MarioObject
return MarioObjects.Objects.GameObjects.Mario

Objects public_oe property

public List Objects
return List

SRC public_oe property

public Rectangle,System.Drawing SRC
return System.Drawing.Rectangle

TopLeft public_oe property

public Point TopLeft
return Point

TopRight public_oe property

public Point TopRight
return Point

Visitor_Check_Object_Enabled public_oe property

public VisitorCheckObjectEnabled,MarioObjects.Objects.Patterns Visitor_Check_Object_Enabled
return MarioObjects.Objects.Patterns.VisitorCheckObjectEnabled

width public_oe property

public int width
return int