C# Class MarioObjects.Objects.GameObjects.BlockMoving

Inheritance: StaticGraphicObject
Mostrar archivo Open project: jazzyjester/Mario-Game

Public Properties

Property Type Description
Dir double
MarioOn System.Boolean
MaxDistance int
StartPosition int
Type MovingType

Public Methods

Method Description
BlockMoving ( int x, int y, int Distance, MovingType T, System.Boolean Start ) : System
Draw ( ) : void
GetLEObject ( ) : LevelEditorObject
Intersection_None ( ) : void
OnMove ( Object sender, EventArgs e ) : void
SetLEObject ( LevelEditorObject le ) : BlockMoving

Method Details

BlockMoving() public method

public BlockMoving ( int x, int y, int Distance, MovingType T, System.Boolean Start ) : System
x int
y int
Distance int
T MovingType
Start System.Boolean
return System

Draw() public method

public Draw ( ) : void
return void

GetLEObject() public static method

public static GetLEObject ( ) : LevelEditorObject
return LevelEditorObject

Intersection_None() public method

public Intersection_None ( ) : void
return void

OnMove() public method

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

SetLEObject() public static method

public static SetLEObject ( LevelEditorObject le ) : BlockMoving
le LevelEditorObject
return BlockMoving

Property Details

Dir public_oe property

public double Dir
return double

MarioOn public_oe property

public Boolean,System MarioOn
return System.Boolean

MaxDistance public_oe property

public int MaxDistance
return int

StartPosition public_oe property

public int StartPosition
return int

Type public_oe property

public MovingType Type
return MovingType