|
- //
- // Lol Engine
- //
- // Copyright: (c) 2010-2011 Sam Hocevar <sam@hocevar.net>
- // This program is free software; you can redistribute it and/or
- // modify it under the terms of the Do What The Fuck You Want To
- // Public License, Version 2, as published by Sam Hocevar. See
- // http://sam.zoy.org/projects/COPYING.WTFPL for more details.
- //
-
- #if defined HAVE_CONFIG_H
- # include "config.h"
- #endif
-
- #include <cstdlib>
-
- #include "core.h"
-
- namespace lol
- {
-
- /*
- * Public WorldEntity class
- */
-
- WorldEntity::WorldEntity()
- {
- position = 0;
- rotation = 0;
- velocity = 0;
- bbox[0] = bbox[1] = 0;
-
- mousepos = 0;
- mousebuttons = 0;
- pressed = 0;
- clicked = 0;
- released = 0;
- }
-
- WorldEntity::~WorldEntity()
- {
- }
-
- char const *WorldEntity::GetName()
- {
- return "<worldentity>";
- }
-
- void WorldEntity::TickGame(float deltams)
- {
- Entity::TickGame(deltams);
- }
-
- void WorldEntity::TickDraw(float deltams)
- {
- Entity::TickDraw(deltams);
- }
-
- } /* namespace lol */
|