/[projectaxis]/projectaxis/projectAxis/src/pods/pod.h
ViewVC logotype

Diff of /projectaxis/projectAxis/src/pods/pod.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by leiavoia, Wed Jun 4 03:17:37 2003 UTC revision 1.3 by leiavoia, Sat Jun 7 00:01:40 2003 UTC
# Line 25  CHANGELOG: Line 25  CHANGELOG:
25    
26  TO-DO & EXPANSION LIST  TO-DO & EXPANSION LIST
27  ----------------------  ----------------------
28  ->COPY CONSTRUCTOR!  - COPY CONSTRUCTOR!
29    - mission queue, not single
30    - shapes
31    - pod vector w/ interface
32    - possessions and specials
33    - modify stats to be +/- bonuses
34    - ERROR - map not defined for all pods yet
35    
36    
37    
# Line 37  TO-DO & EXPANSION LIST Line 42  TO-DO & EXPANSION LIST
42  #define POD_H  #define POD_H
43    
44    
45  #include "../blotchmaker/stlastar.h"  #include "../map/pathfinding/stlastar.h"
46  #include <string>  #include <string>
47  #include <vector>  #include <vector>
48  #include "missions.h"  #include "missions.h"
# Line 70  public: Line 75  public:
75          int GetEngage();          int GetEngage();
76          int GetXp();          int GetXp();
77    
78          // set functions          // set functionsto
         void SetMovementGoal(int x, int y); // sets the goal we want to move to  
79          void SetMission(mission_type m);          void SetMission(mission_type m);
80          void SetEngage(int x);          void SetEngage(int x);
81          void SetAvoid(int x);          void SetAvoid(int x);
# Line 121  private: Line 125  private:
125          int num_shapes; // number of shapes in pod          int num_shapes; // number of shapes in pod
126    
127          Mission* misn; // current mission. TODO: needs a queue eventually          Mission* misn; // current mission. TODO: needs a queue eventually
128            // TODO: we *always* have a mission active. if there is no mission set, it reverts to IDLE mission
129    
130          //FUNCTIONS          //FUNCTIONS
131          void PromptEngagement();          void PromptEngagement();
# Line 133  private: Line 138  private:
138          static vector<Pod*> pod_index; // a vector of pointers to pods. now we can look them up by ID number          static vector<Pod*> pod_index; // a vector of pointers to pods. now we can look them up by ID number
139    
140          // GENERAL POD FUNCTIONS          // GENERAL POD FUNCTIONS
         static void IncPodCount(); // increments the total number of pods  
         static void DecPodCount(); // decrements the total number of pods  
141          // TODO static void AddPod(Pod* pod); // adds the pod to the pod index          // TODO static void AddPod(Pod* pod); // adds the pod to the pod index
142    
143  };  };

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26