Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 3, 2015, 3:56:41 PM (9 years ago)
Author:
gania
Message:

added a canFire() function

File:
1 edited

Legend:

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

    r10761 r10762  
    133133            bool isLookingAtTarget(float angle) const;
    134134
    135 
     135            //checks if spaceship points at enemy and if there are allies inbetween
     136            bool canFire();
    136137            std::map<std::string, int> weaponModes_; //<! Links each "weapon" to it's weaponmode - managed by setupWeapons()
    137138            //std::vector<int> projectiles_; //<! Displays amount of projectiles of each weapon. - managed by setupWeapons()
Note: See TracChangeset for help on using the changeset viewer.