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

Public Member Functions

 Bomb (int playerId, Point cellPosition, int pow, TimeSpan timer, float playerSpeed)
 
void Update (GameTime gameTime)
 
void Draw (GameTime gameTime)
 
void ChangeDirection (LookDirection lD, int playerId)
 
override void Destroy ()
 
override void Remove ()
 
- Public Member Functions inherited from FBLibrary.Core.BaseEntities.BaseBomb
void Initialize (Point mapSize, bool[,] collisionLayer, int[,] hazardMap)
 
override void Update ()
 
void ChangeSpeed (float changing)
 
void ResetTimer ()
 
override void Destroy ()
 
override void Remove ()
 
- 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)
 

Properties

AnimatedSprite Sprite [get, set]
 
- Properties inherited from FBLibrary.Core.BaseEntities.BaseBomb
List< Point > ActionField [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.BaseBomb
int PlayerId
 
TimeSpan Timer
 
- 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 inherited from FBLibrary.Core.BaseEntities.BaseBomb
 BaseBomb (int playerId, Point cellPosition, int power, TimeSpan timer, float playerSpeed)
 
void ComputeActionField (int dangerType)
 
- 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 inherited from FBLibrary.Core.BaseEntities.BaseBomb
int Power
 
Point MapSize
 
bool[,] CollisionLayer
 
int[,] HazardMap
 
- Protected Attributes inherited from FBLibrary.Core.DynamicEntity
Point PreviousCellPosition
 
LookDirection PreviousDirection
 
bool IsMoving
 

Detailed Description

Definition at line 13 of file Bomb.cs.

Constructor & Destructor Documentation

FBClient.Core.Entities.Bomb.Bomb ( int  playerId,
Point  cellPosition,
int  pow,
TimeSpan  timer,
float  playerSpeed 
)

Definition at line 46 of file Bomb.cs.

Member Function Documentation

void FBClient.Core.Entities.Bomb.ChangeDirection ( LookDirection  lD,
int  playerId 
)

Definition at line 403 of file Bomb.cs.

override void FBClient.Core.Entities.Bomb.Destroy ( )
virtual

Implements FBLibrary.Core.BaseEntity.

Definition at line 435 of file Bomb.cs.

void FBClient.Core.Entities.Bomb.Draw ( GameTime  gameTime)

Definition at line 252 of file Bomb.cs.

override void FBClient.Core.Entities.Bomb.Remove ( )
virtual

Implements FBLibrary.Core.BaseEntity.

Definition at line 442 of file Bomb.cs.

void FBClient.Core.Entities.Bomb.Update ( GameTime  gameTime)

Definition at line 86 of file Bomb.cs.

Property Documentation

AnimatedSprite FBClient.Core.Entities.Bomb.Sprite
getset

Definition at line 25 of file Bomb.cs.


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