1 /**
2  * @file controller_spheres.h
3  * @brief Metallic spheres controller used in congratulations
4  * @created 2004-08-05
5  * @date 2007-04-09
6  * @copyright 1991-2014 TLK Games
7  * @author Bruno Ethvignot
8  * @version $Revision: 24 $
9  */
10 /*
11  * copyright (c) 1991-2014 TLK Games all rights reserved
12  * $Id: controller_spheres.h 24 2014-09-28 15:30:04Z bruno.ethvignot@gmail.com $
13  *
14  * TecnoballZ is free software; you can redistribute it and/or modify
15  * it under the terms of the GNU General Public License as published by
16  * the Free Software Foundation; either version 3 of the License, or
17  * (at your option) any later version.
18  *
19  * TecnoballZ is distributed in the hope that it will be useful, but
20  * WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22  * GNU General Public License for more details.
23  *
24  * You should have received a copy of the GNU General Public License
25  * along with this program; if not, write to the Free Software
26  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
27  * MA  02110-1301, USA.
28  */
29 #ifndef __CONTROLLER_SPHERES__
30 #define __CONTROLLER_SPHERES__
31 
32 class controller_spheres;
33 
34 #include "../include/sprite_object.h"
35 #include "../include/objects_list.h"
36 #include "../include/sprite_display_scores.h"
37 
38 class controller_spheres:public objects_list < sprite_object, controller_spheres >
39 {
40 private:
41   Uint32 radius_horizontal_variation;
42   Uint32 radius_vertical_variation;
43   Uint32 radius_hinc_variation;
44   Uint32 radius_vinc_variation;
45   Uint32 radius_sphere_speed;
46 public:
47     controller_spheres ();
48    ~controller_spheres ();
49   void initialize ();
50   void run ();
51 };
52 #endif
53