CRaPI - Correct Robust and Perfect API

Ball Members

Ball overview

Public Instance Constructors

Ball ConstructorInitializes a new instance of the Ball class.

Public Instance Properties

Direction (inherited from GameObject)Direction to the GameObject
DirectionChange (inherited from MobileObject)The direction change
Distance (inherited from GameObject)Distance to the GameObject
DistanceChange (inherited from MobileObject)The distance change
Forecasts (inherited from MobileObject)The forecasted positions of the MobileObject
LastSeen (inherited from MobileObject)The server cycle in which this MobileObject was last seen
Name (inherited from GameObject)The name
Position (inherited from FieldObject)The position of the FieldObject
SeenThisCycle (inherited from MobileObject)Gets and sets if the object has been seen this cycle.
SpeedAmount (inherited from MobileObject)The current approximate speed of the MobileObject (distance per cycle)
SpeedDirection (inherited from MobileObject)The current approximate direction of the speed of the MobileObject

Public Instance Methods

CalculateSpeed (inherited from MobileObject) Calculates the speed direction and amount of this MobileObject
ClearForecasts (inherited from MobileObject) Clears the forecasts
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
ForecastPosition (inherited from MobileObject) 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 ball.

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

Ball Class | TeamYaffa.CRaPI.World.GameObjects Namespace