Adonthell
0.4
Main Page
Related Pages
Classes
Files
File List
File Members
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
30
drawable::drawable
()
31
{
32
set_length (0);
33
set_height (0);
34
}
35
36
drawable::~drawable
()
37
{
38
}
39
40
bool
drawable::update
()
41
{
42
return
true
;
43
}
44
45
bool
drawable::input_update
()
46
{
47
return
true
;
48
}
drawable::input_update
virtual bool input_update()
Virtual input update function, provided for objects which doesn't need one.
Definition:
drawable.cc:45
drawable::drawable
drawable()
Default constructor.
Definition:
drawable.cc:30
drawable.h
Declares the drawable class.
drawable::update
virtual bool update()
Virtual update function, provided for objects which doesn't need one.
Definition:
drawable.cc:40
drawable::~drawable
virtual ~drawable()
Destructor.
Definition:
drawable.cc:36
src
drawable.cc
Generated by
1.8.7