Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 1, 2015, 9:10:08 AM (9 years ago)
Author:
gania
Message:

nothing really changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/AI_HS15/src/orxonox/controllers/CommonController.h

    r10731 r10737  
    3333#include "controllers/Controller.h"
    3434#include "worldentities/ControllableEntity.h"
    35 #include "worldentities/pawns/Pawn.h"
    36 
     35/*#include "worldentities/pawns/Pawn.h"
     36*/
    3737
    3838namespace orxonox
     
    8181            void moveToPosition(const Vector3& target);
    8282            void moveToTargetPosition();
     83            //enum Mode {ROCKET, ATTACK, MOVE, HOLD};//TODO; implement DEFENCE, MOVING modes
    8384
    84 
     85            //Mode mode_;
    8586            void copyOrientation(const Quaternion& orient);
    8687            void copyTargetOrientation();
    8788
     89          /*  bool isCloseAtTarget(float distance) const;
    8890            void doFire();
    8991            void aimAtTarget();
    9092            bool isLookingAtTarget(float angle) const;
     93
     94
     95            std::map<std::string, int> weaponModes_; //<! Links each "weapon" to it's weaponmode - managed by setupWeapons()
     96            //std::vector<int> projectiles_; //<! Displays amount of projectiles of each weapon. - managed by setupWeapons()
     97            float timeout_; //<! Timeout for rocket usage. (If a rocket misses, a bot should stop using it.)
     98            void setupWeapons(); //<! Defines which weapons are available for a bot. Is recalled whenever a bot was killed.
     99            bool bSetupWorked; //<! If false, setupWeapons() is called.
     100            int getFiremode(std::string name);
     101*/
    91102
    92103            bool bHasTargetPosition_;
Note: See TracChangeset for help on using the changeset viewer.