/* Render */ void MediKitObject::render(GameData &data) { if (isPickedUp()) return; data.renderModel(GameData::MEDIKIT_MODEL_INDEX, getXPosition(), getYPosition(), getZPosition(), getYAngle(), 0.0f, 2.0f); if (DEBUG) renderBoundingCilinder(); }
void GameObjects::pickUpItem(Actor* a) { if (isPickedUp()) return; //already picked up by someone m_actor = a; }