CBlob::getPosition

From King Arthur's Gold Wiki
Revision as of 23:57, 28 September 2012 by Ardivaba (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns a Vec2f value with current blob's position.


This function will give you the current Vec2f position of the blob.

Vec2f getPosition()


Example (in this case, 'this' represents a blob):

Vec2f pos = this.getPosition();

Object method of: CBlob