Organism Methods |
The Organism type exposes the following members.
Name | Description | |
---|---|---|
![]() | BeginReproduction | Use this function to command your creature to reproduce. There are many conditions on whether your creature can reproduce. If these conditions are not met, an exception will be thrown. The easiest way to make sure all pre-existing conditions have been met is to check the CanReproduce property. If you call this method multiple times in the same turn, then the last call will be used, and all previous calls will be ignored. This method is also asynchronous, and a ReproduceCompletedEvent will be fired when your creature has actually given birth. The time between start and completion is 10 ticks. |
![]() | DistanceTo | Calculates the linear distance between your creature and another using various API's defined by the Vector class. |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetThenErasePendingActions | |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Initialize |
The Initialize method is called immediately after instantiating a new creature.
The developer should override this method to set up event handlers for the
creature and do any first time initialization that needs to be done to set
up member variables.
|
![]() | InternalMain | |
![]() | InternalOrganismDeserialize | |
![]() | InternalOrganismSerialize | |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | SetWorldBoundary | |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | WriteTrace(Object) | Writes a trace to the Terrarium trace window for debugging. The Tracing routines take a *very* small amount of time if you're not monitoring them. They are on the order of 12 nSec per call. To meet this performance requirement there are several overloads taking a varying number of parameters rather than a single variable argument parameter. |
![]() | WriteTrace(Object, Object) | Writes a trace to the Terrarium trace window for debugging. The Tracing routines take a *very* small amount of time if you're not monitoring them. They are on the order of 12 nSec per call. To meet this performance requirement there are several overloads taking a varying number of parameters rather than a single variable argument parameter. |
![]() | WriteTrace(Object, Object, Object) | Writes a trace to the Terrarium trace window for debugging. The Tracing routines take a *very* small amount of time if you're not monitoring them. They are on the order of 12 nSec per call. To meet this performance requirement there are several overloads taking a varying number of parameters rather than a single variable argument parameter. |
![]() | WriteTrace(Object, Object, Object, Object) | Writes a trace to the Terrarium trace window for debugging. The Tracing routines take a *very* small amount of time if you're not monitoring them. They are on the order of 12 nSec per call. To meet this performance requirement there are several overloads taking a varying number of parameters rather than a single variable argument parameter. |