Module seaModels :: Class Sea
[hide private]
[frames] | no frames]

Class Sea

source code

This is a base class for the sea model. Different sea models can implement it, and together with the ships states, they compose the world state.

Instance Methods [hide private]
 
__init__(self, wind, waterCurrents, waves, obstacles)
Initialize the sea model.
source code
 
__str__(self) source code
Method Details [hide private]

__init__(self, wind, waterCurrents, waves, obstacles)
(Constructor)

source code 

Initialize the sea model.

Parameters:
  • wind (Wind) - the Wind model
  • waterCurrents (WaterCurrents) - the water currents model
  • waves (Waves) - the waves model
  • obstacles (Obstacles) - the sea obstacles model