/* orxonox - the future of 3D-vertical-scrollers Copyright (C) 2004 orx This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. ### File Specific: main-programmer: Patrick Boenzli co-programmer: ... */ #include #include "world_entity.h" using namespace std; WorldEntity::WorldEntity () { health = 100; speed = 0; } WorldEntity::~WorldEntity () {} /*void WorldEntity::setPosition( Vector position ) {} */ /* Vector* void getPosition() {} */ void WorldEntity::setOrientation(/* Vector orientation*/) {} /* Vector* */ void WorldEntity::getOrientation() {} void WorldEntity::setSpeed(float speed) { this->speed = speed; } float WorldEntity::getSpeed() { return speed; } void WorldEntity::setHealth(float health) { this->health = health; } float WorldEntity::getHealth() { return health; } void WorldEntity::tick(float dt) {} void WorldEntity::paint() { cout << "WorldEntity::paint()" << endl; } /* virtual void WorldEntity::actionEvent(Event* event); */ void WorldEntity::collide(WorldEntity* we /*, Vector n */) {} void WorldEntity::hurt() {} void WorldEntity::destroy() {}