source: trunk/src/worldentity.cpp @ 735

Last change on this file since 735 was 735, checked in by sam, 9 years ago

core: get rid of now useless <cstdio> includes.

  • Property svn:keywords set to Id
File size: 981 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
17#include "core.h"
18
19namespace lol
20{
21
22/*
23 * Public WorldEntity class
24 */
25
26WorldEntity::WorldEntity()
27{
28    position = 0;
29    rotation = 0;
30    velocity = 0;
31    bbox[0] = bbox[1] = 0;
32
33    mousepos = 0;
34    mousebuttons = 0;
35    pressed = 0;
36    clicked = 0;
37    released = 0;
38}
39
40WorldEntity::~WorldEntity()
41{
42}
43
44char const *WorldEntity::GetName()
45{
46    return "<worldentity>";
47}
48
49void WorldEntity::TickGame(float deltams)
50{
51    Entity::TickGame(deltams);
52}
53
54void WorldEntity::TickDraw(float deltams)
55{
56    Entity::TickDraw(deltams);
57}
58
59} /* namespace lol */
60
Note: See TracBrowser for help on using the repository browser.