source: trunk/src/worldentity.cpp @ 312

Last change on this file since 312 was 312, checked in by sam, 10 years ago

Create the WorldEntity class, for objects with world coordinates.

  • Property svn:keywords set to Id
File size: 785 bytes
Line 
1//
2// Lol Engine
3//
4// Copyright: (c) 2010-2011 Sam Hocevar <sam@hocevar.net>
5//   This program is free software; you can redistribute it and/or
6//   modify it under the terms of the Do What The Fuck You Want To
7//   Public License, Version 2, as published by Sam Hocevar. See
8//   http://sam.zoy.org/projects/COPYING.WTFPL for more details.
9//
10
11#if defined HAVE_CONFIG_H
12#   include "config.h"
13#endif
14
15#include <cstdlib>
16#include <cstdio>
17
18#include "core.h"
19
20/*
21 * Public WorldEntity class
22 */
23
24WorldEntity::WorldEntity()
25{
26}
27
28WorldEntity::~WorldEntity()
29{
30}
31
32char const *WorldEntity::GetName()
33{
34    return "<worldentity>";
35}
36
37void WorldEntity::TickGame(float deltams)
38{
39    Entity::TickGame(deltams);
40}
41
42void WorldEntity::TickDraw(float deltams)
43{
44    Entity::TickDraw(deltams);
45}
46
Note: See TracBrowser for help on using the repository browser.