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

Public Member Functions

void LoadContent ()
 
virtual void Update (GameTime gameTime, Map map, int[,] hazardMap)
 
void Draw (GameTime gameTime)
 
override void Destroy ()
 
override void Remove ()
 
void Rebirth (Vector2 position)
 
virtual void ChangeLookDirection (byte newLookDirection)
 
- 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

 Player (int id)
 
 Player (int id, PlayerStats stats)
 
virtual void Move (GameTime gameTime, Map map, int[,] hazardMap)
 
void UpdatePlayerPosition (Map map)
 
override float GetMovementSpeed ()
 
virtual void MoveFromEdgeWall ()
 
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)
 

Protected Attributes

TimeSpan BombTimerSaved
 
float SpeedSaved
 
- Protected Attributes inherited from FBLibrary.Core.BaseEntities.BasePlayer
TimeSpan InvincibleTimer
 
- Protected Attributes inherited from FBLibrary.Core.DynamicEntity
Point PreviousCellPosition
 
LookDirection PreviousDirection
 
bool IsMoving
 

Properties

AnimatedSprite Sprite [get, set]
 
- 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]
 

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
 

Detailed Description

Definition at line 22 of file Player.cs.

Constructor & Destructor Documentation

FBClient.Entities.Player.Player ( int  id)
protected

Definition at line 48 of file Player.cs.

FBClient.Entities.Player.Player ( int  id,
PlayerStats  stats 
)
protected

Definition at line 54 of file Player.cs.

Member Function Documentation

virtual void FBClient.Entities.Player.ChangeLookDirection ( byte  newLookDirection)
virtual

Reimplemented in FBClient.Core.Players.OnlineHumanPlayer.

Definition at line 419 of file Player.cs.

override void FBClient.Entities.Player.Destroy ( )
virtual

Implements FBLibrary.Core.BaseEntity.

Definition at line 366 of file Player.cs.

void FBClient.Entities.Player.Draw ( GameTime  gameTime)

Definition at line 256 of file Player.cs.

override float FBClient.Entities.Player.GetMovementSpeed ( )
protectedvirtual

Implements FBLibrary.Core.BaseEntities.BasePlayer.

Definition at line 355 of file Player.cs.

override int FBClient.Entities.Player.GetTime ( )
protectedvirtual

Implements FBLibrary.Core.BaseEntities.BasePlayer.

Definition at line 426 of file Player.cs.

void FBClient.Entities.Player.LoadContent ( )

Definition at line 72 of file Player.cs.

virtual void FBClient.Entities.Player.Move ( GameTime  gameTime,
Map  map,
int  hazardMap[,] 
)
protectedvirtual
virtual void FBClient.Entities.Player.MoveFromEdgeWall ( )
protectedvirtual

Reimplemented in FBClient.Core.Players.OnlineHumanPlayer.

Definition at line 398 of file Player.cs.

void FBClient.Entities.Player.Rebirth ( Vector2  position)

Definition at line 407 of file Player.cs.

override void FBClient.Entities.Player.Remove ( )
virtual

Implements FBLibrary.Core.BaseEntity.

Definition at line 377 of file Player.cs.

virtual void FBClient.Entities.Player.Update ( GameTime  gameTime,
Map  map,
int  hazardMap[,] 
)
virtual

Definition at line 105 of file Player.cs.

void FBClient.Entities.Player.UpdatePlayerPosition ( Map  map)
protected

Definition at line 330 of file Player.cs.

Member Data Documentation

TimeSpan FBClient.Entities.Player.BombTimerSaved
protected

Definition at line 27 of file Player.cs.

float FBClient.Entities.Player.SpeedSaved
protected

Definition at line 30 of file Player.cs.

Property Documentation

AnimatedSprite FBClient.Entities.Player.Sprite
getset

Definition at line 35 of file Player.cs.


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