CBlob::getPosition

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

Jump to: navigation, search

Returns a Vec2f value with current blob's position.


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

Vec2f getPosition()


Example

Vec2f pos = this.getBlob().getPosition();

Object method of: CBlob