Britbot
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions
Britbot.Simulator.SimulatedGroup Class Reference

this represents a group of pirates (either friendly or enemy) More...

List of all members.

Public Member Functions

 SimulatedGroup (int id, int owner, double firePower, bool isCapturing)
 just a constructor
 SimulatedGroup (SimulatedGroup sg)
 copy C'tor
int ActualFirePower ()
void Kill (SimulatedGame sg)
 kills the group
override bool Equals (object obj)
override int GetHashCode ()

Static Public Member Functions

static bool operator== (SimulatedGroup sg1, SimulatedGroup sg2)
 Checks if two groups are identical.
static bool operator!= (SimulatedGroup sg1, SimulatedGroup sg2)
 Determines if two group are not the same.

Public Attributes

double FirePower
 The actual firepower of the group.
int Id
 The id of the group.
bool IsAlive
 True if the enemy group is alive.
int Owner
 The owner of this group (Me or Enemy)
int ReviveTurn
 The turn when the group revives.
bool IsCapturing
bool OriginalIsAlive
int OriginalReviveTurn
bool OriginalIsCapturing
bool IsBusy = false

Protected Member Functions

bool Equals (SimulatedGroup other)

Detailed Description

this represents a group of pirates (either friendly or enemy)

Definition at line 10 of file SimulatedGroup.cs.


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