Package horizons :: Package ai :: Package aiplayer :: Package behavior :: Module behaviorcomponents :: Class BehaviorDoNothing
[hide private]
[frames] | no frames]

Class BehaviorDoNothing

source code

BehaviorComponent --+
                    |
                   BehaviorDoNothing

Behavior that does nothing. Used mainly for idle actions (we don't want to scout too often).

Instance Methods [hide private]
 
__init__(self, owner) source code
 
no_one_in_sight(self, **environment) source code
    Inherited from BehaviorComponent
 
_certainty_has_boat_builder(self, **environment) source code
 
_certainty_has_fleet(self, **environment) source code
 
certainty(self, action_name, **environment) source code
Class Variables [hide private]
    Inherited from BehaviorComponent
  default_certainty = 1.0
  log = logging.getLogger('ai.aiplayer.behavior.behaviorcomponen...
  minimal_fleet_size = 1
Method Details [hide private]

__init__(self, owner)
(Constructor)

source code 
Overrides: BehaviorComponent.__init__