Adonthell  0.4
drawable.cc
Go to the documentation of this file.
1 // $Id: drawable.cc,v 1.4 2001/07/28 20:34:49 gnurou Exp $
2 /*
3  Copyright (C) 1999/2000/2001 Alexandre Courbot
4  Part of the Adonthell Project http://adonthell.linuxgames.com
5 
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License.
8  This program is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY.
10 
11  See the COPYING file for more details.
12 */
13 
14 
15 /**
16  * @file drawable.cc
17  * @author Alexandre Courbot <alexandrecourbot@linuxgames.com>
18  *
19  * @brief Defines the drawable class.
20  */
21 
22 
23 #include "drawable.h"
24 
25 using namespace std;
26 
27 // Public methods.
28 
29 
31 {
32  set_length (0);
33  set_height (0);
34 }
35 
37 {
38 }
39 
41 {
42  return true;
43 }
44 
46 {
47  return true;
48 }
Definition: str_hash.h:36
virtual bool input_update()
Virtual input update function, provided for objects which doesn&#39;t need one.
Definition: drawable.cc:45
drawable()
Default constructor.
Definition: drawable.cc:30
Declares the drawable class.
virtual bool update()
Virtual update function, provided for objects which doesn&#39;t need one.
Definition: drawable.cc:40
virtual ~drawable()
Destructor.
Definition: drawable.cc:36