AntMe.SharedComponents
Exception for special AntMe-Exceptions.
Class, to read and decode ant-video-Streams.
Creates a new instance of reader.
input-stream
Reads a new simulation-state out of stream.
New simulation-state or null, if stream is over
Gives the current frame-position.
Gives the number of total frames.
Class, to stream some simulation state as ant-video-stream.
Creates a new instance of ant-video-writer.
output-stream
Writes a new state to the stream.
New state
Close the writer.
List of possible block-types in stream.
Holds information about an ant.
Base-class for all colony-based and index-based states.
Base-class for all index-based states
Constructor of this state.
Compares two IndexBasedStates
other state
compare-result
Gets the id of this state.
Constructor of this state.
colony-id
id
Gets the colony-id of this state.
Constructor of ant-state
Colony-id
id
Gets or sets the id of the caste.
Gets or sets the direction.
Gets or sets the load.
Gets or sets the type of load.
Gets or sets the x-part of position.
Gets or sets the kind of target.
Gets or sets the x-part of the target position.
Gets or sets the y-part of the target position.
Gets or sets the y-part of position.
Gets or sets the vitality.
View Range
Debug Message
Interface for all updateable item-states
Calculates the next state based on the last update-information
Delivers a new update-information
new Update
Generates a new update-information based on given state
update-information
Generates a state of current states
state
Flag to mark activity
Interface for all serializable blocks.
Serializes the object into the given stream.
output-stream
De-serializes the object out of given stream.
input-stream
Holds information about an anthill.
Constructor of anthill-state
Colony-id
id
Gets or sets the x-part of position.
Gets or sets the y-part of position.
Gets or sets the radius.
Liste der Felder, die sich durch ein Update ändern könnten
Basisklasse für alle Updateblocks für ein einheitliches Speichern der veränderten Felder
Sets the given field to changed-state
Changed field
Indicates changes in given field.
field to check
Changes in field
Serializes the updateinformation into the given stream.
outputstream
Deserializes the updateinformation out of given stream.
inputstream
Gets or sets the id.
Holds information about bugs.
Constructor of bugstate.
id
Gets or sets the x-part of the position.
Gets or sets the y-part of the position.
Gets or sets the direction.
Gets or sets the vitality.
Holds the information of one colony in a simulation-state.
Constructor of colony-state
id
Constructor of colony-state
id of this colony
guid
Name of this colony
Name of player
Gets a list of ants.
Gets a list of anthills.
Gets a list of markers.
gets a list of castes.
Gets or sets the guid of the colony.
Gets or sets the name of this colony.
Gets or sets the name of the player.
Gets or sets the count of starved ants.
Gets or sets the count of eaten ants.
Gets or sets the count of beaten ants.
Gets or sets the count of killed bugs.
Gets or sets the count of killed enemies.
Gets or sets the amount of collected food.
Gets or sets the amount of collected fruits.
Gets or sets the total points.
Setzt die Updatedaten auf erwartete Werte
Repräsentiert den Zustandsblock
Holds the information of one single simulation-step
Constructor to initialize the lists.
Constructor to initialize the lists and set the basic parameters.
width of the playground
height of the playground
the current round
the number of total rounds
Constructor to initialize the lists and set the basic parameters.
width of the playground
height of the playground
the current round
the number of total rounds
the time-stamp of this simulation-state
Gets a list of bugs.
Gets a list of fruits.
Gets a list of teams.
Gets a list of sugar.
Gets the list of custom fields.
Gets or sets the time-stamp of this simulation-state.
Gets or sets the number of total rounds.
Gets or sets the number of current round.
Gets or sets the width of the playground.
Gets or sets the height of the playground.
Holds information about fruit.
Constructor of fruit-state.
id
Gets or sets the amount of fruit.
Gets or sets the x-part of the position.
Gets or sets the y-part of the position.
Gets or sets the radius.
Gets or sets the number of carrying ants.
Holds the information of a team of multiple colonies.
Constructor of team-state
id
Constructor of team-state
id of this team
guid
Name of this team
gets a list of castes.
Gets or sets the guid of the team.
Gets or sets the name of the team.
Holds information about a marker.
Constructor of marker-state.
Colony-id
id
Gets or sets the x-part of the position.
Gets or sets the y-part of the position.
Gets or sets the radius.
Gets or sets the direction.
Holds information about ant-castes
Gets or sets the attack-modificator.
Gets or sets the load-modificator.
Gets or sets the name of this caste.
Gets or sets the range-modificator.
Gets or sets the rotation-speed-modificator.
Gets or sets the speed-modificator.
Gets or sets the view-range-modificator.
Gets or sets the vitality-modificator.
Holds information about sugar.
Constructor of sugar-state
id
Gets or sets the load of sugar.
Gets or sets the x-part of the position.
Gets or sets the y-part of the position.
Gets or sets the radius.
Possible Fields of sugarupdate
Gets or sets the absolute value of amount.
Gets or sets the absolute value for radius.
Namespace Doc zu AntVideo
Class, to manage all serialize-tasks.
Reads the next block out of stream.
the found block
type of found block
Writes the hello-header to stream.
Reads hello-header out of stream.
Writes a given block to stream.
type of given block
block, to write
Writes a given block to stream.
type of block
Reads the following byte without affect the streamposition.
next byte
Close stream.
Sendet einen ushort über den Stream
ushort
Sends a short
short
Sendet einen sbyte über den angegebenen stream
sbyte
Sendet einen integer über den Stream
integer
Sendet einen string über den Stream
string
Liest den nächsten ushort aus dem angegebenen Stream
ausgelesener ushort
Liest das nächste sbyte aus dem angegebenen Stream
ausgelesener sbyte
Liest einen Integer aus dem Stream
gelesener int
Liest einen String aus dem stream
string
Liest einen DateTime aus dem Stream aus
DateTime
This is the Namespace Documentation for AntMe.SharedComponents
Namespace Doku für Plugin
Attribute, to signal, that the marked plugin reads the custom field.
The name of the custom field.
The full name of the used type.
Optional description of usage.
Attribute, to signal, that the marked plugin writes the custom field.
The name of the custom field.
The full name of the used type.
Optional description of usage.
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
Looks up a localized string similar to Abby
Abelina
Abigail
Adelaide
Adeline
Adina
Adriana
Adrienne
Afra
Agatha
Agnes
Aida
Aimee
Aischa
Ajlin
Albertine
Alea
Aleksandra
Alena
Alessa
Alessandra
Alessia
Alexa
Alexandra
Alexia
Alexis
Alice
Alicia
Alida
Alina
Aline
Alisa
Alissa
Alisson
Amabella
Amadea
Amanda
Amelia
Amelie
Amina
Amy
Ana
Anastasia
Andrea
Andrina
Anette
Angela
Angelika
Angelina
Angelique
Anina
Anine
Anita
Anja
Anjalie
Anke
Ann
Anna
Annabel
Annabell
Annabella
Annabelle
Anne
A [rest of string was truncated]";.
Looks up a localized string similar to Christoph
Dominik
Hardy
Immo
Patric
Sebastian
Stefan
Tom
Uwe
Wolfgang.
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
Looks up a localized string similar to AntVI-Stream delivered an invalid start block. Expected: FrameStart. Received: {0}..
Looks up a localized string similar to The input stream could not be read..
Looks up a localized string similar to The input stream has not been set..
Looks up a localized string similar to AntVI-Stream delivered an invalid element: {0}..
Looks up a localized string similar to The stream does not contain the AntVi-format..
Looks up a localized string similar to The stream contains an AntVI-version that could not be processed ({0}.{1}.{2}.{3})..
Namespace doku für States
Stellt eine Farbe im RGB-Farbraum dar.
Diese Struktur wurde definiert um von den in Windows Forms und Managed
DirectX definierten Farben unabhängig zu sein. Zusätzlich können Farben
durch die Verwendung dieser Struktur gemischt werden.
Wolfgang Gallo (wolfgang@antme.net)
Der Farbe Konstruktor.
Rot-Wert
Grün-Wert
Blau-Wert
Gibt die Farbe als Zeichenkette zurück.
(Rot,Grün,Blau)
Addiert die RGB-Werte zweier Farben.
Um zwei Farben zu mischen muß zusätzlich eine Division durchgeführt
werden: (farbe1 + farbe2) / 2.
Farbe 1
Farbe 2
Farbe
Multipliziert die RGB-Werte einer Farbe mit einer Zahl.
Farbe
Zahl
Farbe
Dividiert die RGB-Werte einer Farbe durch eine Zahl.
Farbe
Zahl
Farbe
Bestimmt ein Abstand-Maß zwischen zwei Farben im RGB-Farbraum.
Wird von der Farbberater-Klasse verwendet.
Farbe 1
Farbe 2
Abstand²
Der Rot-Wert der Farbe.
Der Grün-Wert der Farbe.
Der Blau-Wert der Farbe.
Liefert Farben die sie möglichst stark voneinander Unterscheiden.
Wolfgang Gallo (wolfgang@antme.net)
Markiert eine neue Farbe als bereits vorhanden.
Neue Farbe.
Entfernt eine vorhandene Farbe.
Vorhandene Farbe.
Erzeugt eine neue Farbe mit möglichst großem Abstand zu den bereits
vorhandenen Farben.
Neue Farbe.
Erzeugt eine neue Farbe mit möglichst großem Abstand zu den bereits
vorhandenen Farben und verändert sie leicht.
Neue Farbe.
Erzeugt eine neue Farbe mit möglichst großem Abstand zu den bereits
vorhandenen Farben und markiert sie als belegt.
Neue Farbe.
Erzeugt eine neue Farbe mit möglichst großem Abstand zu den bereits
vorhandenen Farben, verändert sie leicht und markiert sie als belegt.
Neue Farbe.
Interface for all consuming plugins.
Tom Wendel (tom@antme.net)
Base-Interface for all AntMe-Plugins.
Tom Wendel (tom@antme.net)
Starts the plugin-activity or resumes activity, if paused. Only called by UI-Thread.
Stops the plugin-activity. Only called by UI-Thread.
Pauses the activity or starts and pauses, if stopped. Only called by UI-Thread.
Delivers the start-parameter from main application to this plugin. Only called by UI-Thread.
start-parameter
Sets the state of visibility of plugins user-control. Only called by UI-Thread.
is user-control visible in main window
Updates UI. Only called by UI-Thread.
Plugin-Description. Only called by UI-Thread.
Plugin-Guid. Only called by UI-Thread.
Plugin-Name. Only called by UI-Thread.
Plugin-Version. Only called by UI-Thread.
Gets the current plugin-state. Called by UI- and GameLoop-Thread.
Gets the plugin-user-control so show in main application or null, if there is no user-control. Only called by UI-Thread.
Gets or sets the settings for this plugin. usually a serialized configuration-class. Only called by UI-Thread.
Sends the empty state to push some custom fields to control the simulation. Only called by GameLoop-Thread.
empty state
Sends the filled state to push some custom fields to control the other consumers. Only called by GameLoop-Thread.
filled state
Sends the complete filled state to consume. Only called by GameLoop-Thread.
complete state
Allows a plugin to signal an interrupt. Only called by GameLoop-Thread.
Interface for all producing plugins in antme.
Tom Wendel (tom@antme.net)
Sends the filled state from consumers to the producer to put in the . Only called by GameLoop-Thread.
filled state
List of possible plugin-states.
Tom Wendel (tom@antme.net)
Indicates a not startable state.
Shows the ability to start. Also pause is a possible command.
Indicates a running plugin. Plugin can pause and stop.
Plugin is suspended. It can resume again via start or stop complete.
Holds custom Plugin-Information
Adds the specified key.
The key.
The value.
Removes the specified key.
The key.
Removes the specified value.
The value.
Gets a value indicating whether this instance has value.
true if this instance has value; otherwise, false.
Gets or sets the with the specified key.
Gets a list of available keys.
List of possible loads.
No load
Sugar
Fruit
List of possible targets for an ant.
There is no target.
Target is an ant.
Target is an anthill.
Target are bugs.
Target is fruit.
Target is a marker.
Target is sugar.
Attribute to mark a plugin as important that should be selected at the
first start of AntMe. This attribute only takes effect, if there is no
configuration-file from earlier starts.
Tom Wendel (tom@antme.net)
A static helper class that returns female and male first names.
Wolfgang Gallo (wolfgang@antme.net)
An array of female first names.
An array of male first names.
Returns a female first name for a given hash value.
The same hash value will always return the same name within an application session.
A value to use for hashing, for example an id.
A female first name.
Returns a male first name for a given hash value.
The same hash value will always return the same name within an application session.
A value to use for hashing, for example an id.
A male first name.
Namespace Doku für Tools