Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/chris/src/track.h @ 2102

Last change on this file since 2102 was 2101, checked in by chris, 20 years ago

orxonox/branches/chris: Finished the "GETITTOCOMPILE" project… compiling should work now, but linking is a different story

File size: 665 bytes
Line 
1
2#ifndef TRACK_H
3#define TRACK_H
4
5#include "stdincl.h"
6
7class Track
8{
9 private:
10        Uint32 ID;
11        Vector* offset;
12        Vector* end;
13        Uint32 nextID;
14       
15 public:
16        Track ();
17  Track (Uint32 number, Uint32 next, Vector* start, Vector* finish);
18  ~Track ();
19       
20        virtual void post_enter (WorldEntity* entity);  // handle coordinate transition in here !!! (when dist < 0 or dist > lasttracklenght)
21        virtual void post_leave (WorldEntity* entity);
22        virtual void tick (float deltaT);
23        virtual void map_camera (Location* lookat, Placement* camplc);
24        virtual bool map_coords (Location* loc, Placement* plc);        // this should return true if the entity left track boundaries
25};
26
27#endif
Note: See TracBrowser for help on using the repository browser.