C# Class MegaMan.Engine.JoinHandler

Afficher le fichier Open project: Tesserex/C--MegaMan-Engine Class Usage Examples

Protected Properties

Свойство Type Description
direction Direction
scrollDist float
width int

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Finish ( PositionComponent playerPos ) : void
MovePlayer ( PositionComponent playerPos ) : void
OffsetDist ( ) : int
TriggerSize ( ) : int

Private Methods

Méthode Description
Calculate ( ) : void

Method Details

BeginScroll() public méthode

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

Finish() protected méthode

protected Finish ( PositionComponent playerPos ) : void
playerPos PositionComponent
Résultat void

JoinHandler() public méthode

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
Résultat System

MovePlayer() protected méthode

protected MovePlayer ( PositionComponent playerPos ) : void
playerPos PositionComponent
Résultat void

OffsetDist() protected méthode

protected OffsetDist ( ) : int
Résultat int

Start() public méthode

public Start ( MegaMan.Engine.ScreenHandler screen ) : void
screen MegaMan.Engine.ScreenHandler
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

Trigger() public méthode

public Trigger ( PointF position ) : bool
position MegaMan.Common.Geometry.PointF
Résultat bool

TriggerSize() protected méthode

protected TriggerSize ( ) : int
Résultat int

Update() public méthode

public Update ( PositionComponent playerPos ) : void
playerPos PositionComponent
Résultat void

Property Details

direction protected_oe property

protected Direction direction
Résultat Direction

scrollDist protected_oe property

protected float scrollDist
Résultat float

width protected_oe property

protected int width
Résultat int