Britbot
Public Member Functions | Public Attributes | Properties
Britbot.Simulator.SimulatedIsland Class Reference
+ Collaboration diagram for Britbot.Simulator.SimulatedIsland:

List of all members.

Public Member Functions

 SimulatedIsland (int owner, int turnsBeingCaptured, int id, int value, SimulatedGroup capturingGroup=null)
 C'tor.
int TurnsTillCapture (int capturer)
 calculates how much time it would take for the given side to capture the island
int TurnsTillDecapture (int capturer)
 Turns till the island becomes nutral.
void KillLocals (SimulatedGame sg)
 This safely kills the local group and updates the turns count.
void Update (int turnDiff)
 simply adds to the turn counter

Public Attributes

SimulatedGroup CapturingGroup
int Owner
int TurnsBeingCaptured
int OriginalOwner
int OriginalTrunsBeingCaptured
SimulatedGroup OriginalCapturingGroup

Properties

int Id [get, set]
int Value [get, set]

Detailed Description

Definition at line 9 of file SimulatedIsland.cs.


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