CRaPI - Correct Robust and Perfect API

MobileObject Members

MobileObject overview

Public Instance Constructors

MobileObjectOverloaded. Initializes a new instance of the MobileObject class.

Public Instance Properties

Direction (inherited from GameObject)Direction to the GameObject
DirectionChangeThe direction change
Distance (inherited from GameObject)Distance to the GameObject
DistanceChangeThe distance change
ForecastsThe forecasted positions of the MobileObject
LastSeenThe server cycle in which this MobileObject was last seen
Name (inherited from GameObject)The name
Position (inherited from FieldObject)The position of the FieldObject
SeenThisCycleGets and sets if the object has been seen this cycle.
SpeedAmountThe current approximate speed of the MobileObject (distance per cycle)
SpeedDirectionThe current approximate direction of the speed of the MobileObject

Public Instance Methods

CalculateSpeed Calculates the speed direction and amount of this MobileObject
ClearForecasts Clears the forecasts
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
ForecastPosition Forecast the position of this MobileObject a certain cycles into the future
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString Returns a string representation of the MobileObject

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

MobileObject Class | TeamYaffa.CRaPI.World.GameObjects Namespace