Esempio n. 1
0
/* 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();
}
Esempio n. 2
0
void GameObjects::pickUpItem(Actor* a)
{
	if (isPickedUp())
		return; //already picked up by someone
	m_actor = a;
}