Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/contentcreation/pps/FabianLandau/mover/environments/mover_trigger_list.h @ 7138

Last change on this file since 7138 was 4844, checked in by landauf, 18 years ago
File size: 739 bytes
Line 
1/*!
2 * @file mover_trigger_list.h
3 *  A list to store and handle several triggers.
4 */
5
6#ifndef _MOVER_TRIGGER_LIST_H
7#define _MOVER_TRIGGER_LIST_H
8
9#include "mover_trigger.h"
10
11
12class MoverTrigger;
13
14class MoverTriggerListElement
15{
16    public:
17        MoverTriggerListElement(MoverTrigger *trigger);
18        ~MoverTriggerListElement();
19       
20        MoverTrigger *trigger;
21        MoverTriggerListElement *next;
22};
23
24
25class MoverTriggerList
26{
27    public:
28        MoverTriggerList();
29        ~MoverTriggerList();
30
31        void addTrigger(MoverTrigger *trigger);
32        bool isTriggered();
33        void setBaseCoor(Vector baseCoor);
34
35    private:
36        MoverTriggerListElement *first;
37};
38
39
40#endif
Note: See TracBrowser for help on using the repository browser.