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.BaseBomb Class Reference
Inheritance diagram for FBLibrary.Core.BaseEntities.BaseBomb:
[legend]
Collaboration diagram for FBLibrary.Core.BaseEntities.BaseBomb:
[legend]

Public Member Functions

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)
 

Public Attributes

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

 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

int Power
 
Point MapSize
 
bool[,] CollisionLayer
 
int[,] HazardMap
 
- Protected Attributes inherited from FBLibrary.Core.DynamicEntity
Point PreviousCellPosition
 
LookDirection PreviousDirection
 
bool IsMoving
 

Properties

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]
 

Detailed Description

Definition at line 8 of file BaseBomb.cs.

Constructor & Destructor Documentation

FBLibrary.Core.BaseEntities.BaseBomb.BaseBomb ( int  playerId,
Point  cellPosition,
int  power,
TimeSpan  timer,
float  playerSpeed 
)
protected

Definition at line 24 of file BaseBomb.cs.

Member Function Documentation

void FBLibrary.Core.BaseEntities.BaseBomb.ChangeSpeed ( float  changing)

Definition at line 165 of file BaseBomb.cs.

void FBLibrary.Core.BaseEntities.BaseBomb.ComputeActionField ( int  dangerType)
protected

Definition at line 75 of file BaseBomb.cs.

override void FBLibrary.Core.BaseEntities.BaseBomb.Destroy ( )
virtual

Implements FBLibrary.Core.BaseEntity.

Definition at line 175 of file BaseBomb.cs.

void FBLibrary.Core.BaseEntities.BaseBomb.Initialize ( Point  mapSize,
bool  collisionLayer[,],
int  hazardMap[,] 
)

Definition at line 41 of file BaseBomb.cs.

override void FBLibrary.Core.BaseEntities.BaseBomb.Remove ( )
virtual

Implements FBLibrary.Core.BaseEntity.

Definition at line 182 of file BaseBomb.cs.

void FBLibrary.Core.BaseEntities.BaseBomb.ResetTimer ( )

Definition at line 170 of file BaseBomb.cs.

override void FBLibrary.Core.BaseEntities.BaseBomb.Update ( )
virtual

Reimplemented from FBLibrary.Core.BaseEntity.

Definition at line 52 of file BaseBomb.cs.

Member Data Documentation

bool [,] FBLibrary.Core.BaseEntities.BaseBomb.CollisionLayer
protected

Definition at line 19 of file BaseBomb.cs.

int [,] FBLibrary.Core.BaseEntities.BaseBomb.HazardMap
protected

Definition at line 22 of file BaseBomb.cs.

Point FBLibrary.Core.BaseEntities.BaseBomb.MapSize
protected

Definition at line 18 of file BaseBomb.cs.

int FBLibrary.Core.BaseEntities.BaseBomb.PlayerId

Definition at line 10 of file BaseBomb.cs.

int FBLibrary.Core.BaseEntities.BaseBomb.Power
protected

Definition at line 12 of file BaseBomb.cs.

TimeSpan FBLibrary.Core.BaseEntities.BaseBomb.Timer

Definition at line 11 of file BaseBomb.cs.

Property Documentation

List<Point> FBLibrary.Core.BaseEntities.BaseBomb.ActionField
getset

Definition at line 15 of file BaseBomb.cs.


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