C# Class MegaMan.Engine.JoinHandler

显示文件 Open project: Tesserex/C--MegaMan-Engine Class Usage Examples

Protected Properties

Property Type Description
direction Direction
scrollDist float
width int

Public Methods

Method Description
BeginScroll ( MegaMan.Engine.ScreenHandler next, PointF playerPos ) : void
JoinHandler ( Join join, int tileSize, int height, int width, string name ) : System
Start ( MegaMan.Engine.ScreenHandler screen ) : void
Stop ( ) : void
Trigger ( PointF position ) : bool
Update ( PositionComponent playerPos ) : void

Protected Methods

Method Description
Finish ( PositionComponent playerPos ) : void
MovePlayer ( PositionComponent playerPos ) : void
OffsetDist ( ) : int
TriggerSize ( ) : int

Private Methods

Method Description
Calculate ( ) : void

Method Details

BeginScroll() public method

public BeginScroll ( MegaMan.Engine.ScreenHandler next, PointF playerPos ) : void
next MegaMan.Engine.ScreenHandler
playerPos MegaMan.Common.Geometry.PointF
return void

Finish() protected method

protected Finish ( PositionComponent playerPos ) : void
playerPos PositionComponent
return void

JoinHandler() public method

public JoinHandler ( Join join, int tileSize, int height, int width, string name ) : System
join MegaMan.Common.Join
tileSize int
height int
width int
name string
return System

MovePlayer() protected method

protected MovePlayer ( PositionComponent playerPos ) : void
playerPos PositionComponent
return void

OffsetDist() protected method

protected OffsetDist ( ) : int
return int

Start() public method

public Start ( MegaMan.Engine.ScreenHandler screen ) : void
screen MegaMan.Engine.ScreenHandler
return void

Stop() public method

public Stop ( ) : void
return void

Trigger() public method

public Trigger ( PointF position ) : bool
position MegaMan.Common.Geometry.PointF
return bool

TriggerSize() protected method

protected TriggerSize ( ) : int
return int

Update() public method

public Update ( PositionComponent playerPos ) : void
playerPos PositionComponent
return void

Property Details

direction protected_oe property

protected Direction direction
return Direction

scrollDist protected_oe property

protected float scrollDist
return float

width protected_oe property

protected int width
return int