CBlob::getPosition

From King Arthur's Gold Wiki
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