C# Class EssenceShared.Entities.Players.Player

Inheritance: Entity
Exibir arquivo Open project: Insality/essence-of-shadows Class Usage Examples

Public Properties

Property Type Description
AccState AccountState
AttackCooldown float
AttackCooldownCounter float

Public Methods

Method Description
Attack ( CCPoint target ) : void
Control ( float dt ) : void
OnEnter ( ) : void
Player ( string id, string type, AccountState account ) : CocosSharp
Update ( float dt ) : void

Private Methods

Method Description
UpdateAccState ( ) : void

Method Details

Attack() public method

public Attack ( CCPoint target ) : void
target CCPoint
return void

Control() public method

public Control ( float dt ) : void
dt float
return void

OnEnter() public method

public OnEnter ( ) : void
return void

Player() public method

public Player ( string id, string type, AccountState account ) : CocosSharp
id string
type string
account AccountState
return CocosSharp

Update() public method

public Update ( float dt ) : void
dt float
return void

Property Details

AccState public_oe property

public AccountState AccState
return AccountState

AttackCooldown public_oe property

public float AttackCooldown
return float

AttackCooldownCounter public_oe property

public float AttackCooldownCounter
return float