Initial porting to the new component API.
[tagua/yd.git] / src / entities / userentity.cpp
blob65916e78481987de90c0643c968f0b0fbe061799
1 /*
2 Copyright (c) 2006 Paolo Capriotti <p.capriotti@gmail.com>
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 "userentity.h"
13 UserEntity::UserEntity(const GamePtr& game)
14 : Entity(game)
15 , m_editing_tools(false) { }
17 void UserEntity::enableEditingTools(bool value) {
18 m_editing_tools = value;
21 void UserEntity::handleRightClick(const Point&) const { }
23 bool UserEntity::canDetach() const { return true; }