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