Britbot
Public Member Functions | Public Attributes | Properties
Britbot.Score Class Reference

A class represent information about a target's score in relation to a specific group. More...

+ Collaboration diagram for Britbot.Score:

List of all members.

Public Member Functions

 Score (ITarget target, TargetType type, double value, double EnemyShips, double eta, int MinTurnsToEnemyCapture, int Density)
 Holds the target score relative to the attacker.
int CompareTo (object obj)
 Used to compare two score elements.
int CompareTo (Score other)
 Used to compare two score elements.
override string ToString ()

Public Attributes

readonly double EnemyShips
 Amount of enemy ships nearBy.
readonly double Eta
 Time until completion.
int MinTurnsToEnemyCapture
 Minimum number of turns we will own an Island.
int Density
 The density of nearby islands (calculated by summing the distance between a target and all the nearby islands)
ITarget Target
 The target being scored.
TargetType Type
 target's type

Properties

double Value [get, set]
 value of the island if island

Detailed Description

A class represent information about a target's score in relation to a specific group.

Definition at line 12 of file Score.cs.


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