Merge GameBasedEntity into Entity.
[tagua/yd.git] / src / entities / gamebasedentity.cpp
blob2dd8a9a2dd711ee136d479f886ec32a6614f78d5
1 /*
2 Copyright (c) 2006 Paolo Capriotti <p.capriotti@sns.it>
3 (c) 2006 Maurizio Monge <maurizio.monge@kdemail.net>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9 */
11 #include "gamebasedentity.h"
12 #include "game.h"
14 GameBasedEntity::GameBasedEntity(const boost::shared_ptr<Game>& game)
15 : m_game(game) { }
17 AbstractPosition::Ptr GameBasedEntity::position() const { return m_game->position(); }