相关代码 |
|
#include "Object.h" void Object::setType(ObjectTypeT o) { objectType = o; } ObjectTypeT Object::getType() const { return objectType; } void Object::setPosition(VecPosition p) { pos = p; } VecPosition Object::getPosition() const { return pos; } void Object::setVelocity(VecPosition p) { vel = p; } VecPosition Object::getVelocity() const { return vel; }
相关资源 |
|