Back to: Class List
//=====================================
		class Creep
//=====================================
>> The class that represents all Creeps.

----------------------------
Type: Refrence | No Instance
----------------------------

-------------
Group: Common
-------------

-------------
Constructors:
-------------
	N/A

--------
Methods:
--------
	uint32 id() const;

		Function: Get the Id assigned to the creep when it was
					added to the World
					
		Arguments: N/A
		
		Returns: unsigned int - a positive, none zero number, means
					this creep has been successfully added to the
					world
					
	int16 health() const;

		Function: Get the current health of the creep
					
		Arguments: N/A
		
		Returns: unsigned int16 - the creeps health
		
	void health( int16 );

		Function: Set the health of the creep
					
		Arguments: int16 - the new health to assign to the creep
		
		Returns: N/A
		
	float speed() const;

		Function: Get the current speed of the creep
					
		Arguments: N/A
		
		Returns: float - the creeps speed
		
	void speed( float );

		Function: Set the speed of the creep
					
		Arguments: float - the new speed to assign to the creep
		
		Returns: N/A
		
	int8 reward() const;

		Function: Get the current reward given to a player for killing this creep
					
		Arguments: N/A
		
		Returns: int8 - the creeps reward
		
	void reward( int8 );

		Function: Set the reward given to a player for killing this creep
					
		Arguments: int8 - the new reward to assign to the creep
		
		Returns: N/A
		
	float x() const;

		Function: Get the x coordinate of the position in the world
					
		Arguments: N/A
		
		Returns: float - the x coordinate
		
	float y() const;

		Function: Get the y coordinate of the position in the world
					
		Arguments: N/A
		
		Returns: float - the y coordinate
		
	void position( float x, float y );

		Function: Set the x and y coordinates for this creep
					
		Arguments:	float - the new y coordinate
					float - the new x coordinate
		
		Returns: N/A
		
	void position( const Vector2d );

		Function: Set the position coordinates
					
		Arguments:	Vector2d - the new position
		
		Returns: N/A

	Vector2d position();

		Function: Get the position coordinates
					
		Arguments: N/A
		
		Returns: Vector2d - the object's position
		
	float description_health() const;

		Function: Get the description value for this creeps health
					
		Arguments: N/A
		
		Returns: float - the original starting health for creeps of this type
		
	float description_speed() const;

		Function: Get the description value for this creeps speed
					
		Arguments: N/A
		
		Returns: float - the original starting speed for creeps of this type
		
	float description_reward() const;

		Function: Get the description value for this creeps reward
					
		Arguments: N/A
		
		Returns: float - the original starting reward for creeps of this type