Final-Bomber  0.1
Bomberman/Dynablaster remake in C# using XNA.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Pages
FBServer.Core.Player Class Reference
Inheritance diagram for FBServer.Core.Player:
[legend]
Collaboration diagram for FBServer.Core.Player:
[legend]

Public Member Functions

 Player (int id)
 
 Player (int id, PlayerStats stats)
 
void SetMovement (LookDirection direction)
 
void MovePlayer (BaseMap map)
 
override void Destroy ()
 
override void Remove ()
 
- Public Member Functions inherited from FBLibrary.Core.BaseEntities.BasePlayer
override void Update ()
 
void IncreaseTotalBombNumber (int incr)
 
void IncreasePower (int incr)
 
void IncreaseSpeed (float incr)
 
virtual void ApplyBadItem (BadEffect effect)
 
- Public Member Functions inherited from FBLibrary.Core.DynamicEntity
override void Update ()
 
- Public Member Functions inherited from FBLibrary.Core.BaseEntity
void ChangePosition (Point p)
 
void ChangePosition (int x, int y)
 
void ChangePosition (float x, float y)
 

Protected Member Functions

override float GetMovementSpeed ()
 
override int GetTime ()
 
- Protected Member Functions inherited from FBLibrary.Core.BaseEntities.BasePlayer
 BasePlayer (int id)
 
 BasePlayer (int id, PlayerStats stats)
 
void ComputeWallCollision (BaseMap map)
 
virtual void RemoveBadItem ()
 
- Protected Member Functions inherited from FBLibrary.Core.DynamicEntity
 DynamicEntity ()
 
 DynamicEntity (Point cellPosition)
 
bool IsChangingCell ()
 
- Protected Member Functions inherited from FBLibrary.Core.BaseEntity
 BaseEntity ()
 
 BaseEntity (Point cellPosition)
 

Additional Inherited Members

- Public Attributes inherited from FBLibrary.Core.BaseEntities.BasePlayer
int Id
 
string Name
 
bool OnEdge
 
TimeSpan InvincibleTime
 
int CurrentBombAmount
 
int TotalBombAmount
 
int BombPower
 
TimeSpan BombTimer
 
PlayerStats Stats
 
bool IsInvincible
 
bool HasBadEffect
 
BadEffect BadEffect
 
TimeSpan BadEffectTimer
 
TimeSpan BadEffectTimerLenght
 
- Public Attributes inherited from FBLibrary.Core.DynamicEntity
LookDirection CurrentDirection
 
- Public Attributes inherited from FBLibrary.Core.BaseEntity
bool IsAlive
 
bool InDestruction
 
TimeSpan DestructionTime
 
- Protected Attributes inherited from FBLibrary.Core.BaseEntities.BasePlayer
TimeSpan InvincibleTimer
 
- Protected Attributes inherited from FBLibrary.Core.DynamicEntity
Point PreviousCellPosition
 
LookDirection PreviousDirection
 
bool IsMoving
 
- Properties inherited from FBLibrary.Core.DynamicEntity
float Speed [get, set]
 
Vector2 Velocity [get, set]
 
- Properties inherited from FBLibrary.Core.BaseEntity
Vector2 Position [get, set]
 
float PositionX [get, set]
 
float PositionY [get, set]
 
int CellPositionX [get, set]
 
int CellPositionY [get, set]
 
Point CellPosition [get, set]
 
Point Dimension [get, set]
 

Detailed Description

Definition at line 8 of file Player.cs.

Constructor & Destructor Documentation

FBServer.Core.Player.Player ( int  id)

Definition at line 14 of file Player.cs.

FBServer.Core.Player.Player ( int  id,
PlayerStats  stats 
)

Definition at line 20 of file Player.cs.

Member Function Documentation

override void FBServer.Core.Player.Destroy ( )
virtual

Implements FBLibrary.Core.BaseEntity.

Definition at line 111 of file Player.cs.

override float FBServer.Core.Player.GetMovementSpeed ( )
protectedvirtual

Implements FBLibrary.Core.BaseEntities.BasePlayer.

Definition at line 100 of file Player.cs.

override int FBServer.Core.Player.GetTime ( )
protectedvirtual

Implements FBLibrary.Core.BaseEntities.BasePlayer.

Definition at line 106 of file Player.cs.

void FBServer.Core.Player.MovePlayer ( BaseMap  map)

Definition at line 38 of file Player.cs.

override void FBServer.Core.Player.Remove ( )
virtual

Implements FBLibrary.Core.BaseEntity.

Definition at line 116 of file Player.cs.

void FBServer.Core.Player.SetMovement ( LookDirection  direction)

Definition at line 27 of file Player.cs.


The documentation for this class was generated from the following file: