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

Public Member Functions

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)
 
abstract void Destroy ()
 
abstract void Remove ()
 

Public Attributes

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 Member Functions

 BasePlayer (int id)
 
 BasePlayer (int id, PlayerStats stats)
 
void ComputeWallCollision (BaseMap map)
 
abstract float GetMovementSpeed ()
 
virtual void RemoveBadItem ()
 
abstract int GetTime ()
 
- 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)
 

Protected Attributes

TimeSpan InvincibleTimer
 
- Protected Attributes inherited from FBLibrary.Core.DynamicEntity
Point PreviousCellPosition
 
LookDirection PreviousDirection
 
bool IsMoving
 

Additional Inherited Members

- 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 6 of file BasePlayer.cs.

Constructor & Destructor Documentation

FBLibrary.Core.BaseEntities.BasePlayer.BasePlayer ( int  id)
protected

Definition at line 25 of file BasePlayer.cs.

FBLibrary.Core.BaseEntities.BasePlayer.BasePlayer ( int  id,
PlayerStats  stats 
)
protected

Definition at line 32 of file BasePlayer.cs.

Member Function Documentation

virtual void FBLibrary.Core.BaseEntities.BasePlayer.ApplyBadItem ( BadEffect  effect)
virtual
void FBLibrary.Core.BaseEntities.BasePlayer.ComputeWallCollision ( BaseMap  map)
protected

Definition at line 104 of file BasePlayer.cs.

abstract float FBLibrary.Core.BaseEntities.BasePlayer.GetMovementSpeed ( )
protectedpure virtual
abstract int FBLibrary.Core.BaseEntities.BasePlayer.GetTime ( )
protectedpure virtual
void FBLibrary.Core.BaseEntities.BasePlayer.IncreasePower ( int  incr)

Definition at line 363 of file BasePlayer.cs.

void FBLibrary.Core.BaseEntities.BasePlayer.IncreaseSpeed ( float  incr)

Definition at line 373 of file BasePlayer.cs.

void FBLibrary.Core.BaseEntities.BasePlayer.IncreaseTotalBombNumber ( int  incr)

Definition at line 344 of file BasePlayer.cs.

virtual void FBLibrary.Core.BaseEntities.BasePlayer.RemoveBadItem ( )
protectedvirtual
override void FBLibrary.Core.BaseEntities.BasePlayer.Update ( )
virtual

Reimplemented from FBLibrary.Core.BaseEntity.

Definition at line 66 of file BasePlayer.cs.

Member Data Documentation

BadEffect FBLibrary.Core.BaseEntities.BasePlayer.BadEffect

Definition at line 19 of file BasePlayer.cs.

TimeSpan FBLibrary.Core.BaseEntities.BasePlayer.BadEffectTimer

Definition at line 20 of file BasePlayer.cs.

TimeSpan FBLibrary.Core.BaseEntities.BasePlayer.BadEffectTimerLenght

Definition at line 21 of file BasePlayer.cs.

int FBLibrary.Core.BaseEntities.BasePlayer.BombPower

Definition at line 14 of file BasePlayer.cs.

TimeSpan FBLibrary.Core.BaseEntities.BasePlayer.BombTimer

Definition at line 15 of file BasePlayer.cs.

int FBLibrary.Core.BaseEntities.BasePlayer.CurrentBombAmount

Definition at line 12 of file BasePlayer.cs.

bool FBLibrary.Core.BaseEntities.BasePlayer.HasBadEffect

Definition at line 18 of file BasePlayer.cs.

int FBLibrary.Core.BaseEntities.BasePlayer.Id

Definition at line 8 of file BasePlayer.cs.

TimeSpan FBLibrary.Core.BaseEntities.BasePlayer.InvincibleTime

Definition at line 11 of file BasePlayer.cs.

TimeSpan FBLibrary.Core.BaseEntities.BasePlayer.InvincibleTimer
protected

Definition at line 23 of file BasePlayer.cs.

bool FBLibrary.Core.BaseEntities.BasePlayer.IsInvincible

Definition at line 17 of file BasePlayer.cs.

string FBLibrary.Core.BaseEntities.BasePlayer.Name

Definition at line 9 of file BasePlayer.cs.

bool FBLibrary.Core.BaseEntities.BasePlayer.OnEdge

Definition at line 10 of file BasePlayer.cs.

PlayerStats FBLibrary.Core.BaseEntities.BasePlayer.Stats

Definition at line 16 of file BasePlayer.cs.

int FBLibrary.Core.BaseEntities.BasePlayer.TotalBombAmount

Definition at line 13 of file BasePlayer.cs.


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