CBlob::setPosition

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

Jump to: navigation, search

Sets a new position for the blob.


This function will set the new position for the blob.

 
void setPosition( Vec2f pos )

Example, which would stop physical movement of given blob:

this.setVelocity(Vec2f(0,0));


Object method of: CBlob