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

Class StaticConstantWind

source code


This class implements a wind that is constant in every point, and never changes.

Instance Methods [hide private]
 
__init__(self, directionX, directionY)
parameters define the constant wind direction vector
source code
 
__str__(self) source code
 
getSpeedVectorInLocation(self, x, y)
Given a location, returns the wind vector in it
source code
Method Details [hide private]

__init__(self, directionX, directionY)
(Constructor)

source code 

parameters define the constant wind direction vector

Overrides: Wind.__init__

getSpeedVectorInLocation(self, x, y)

source code 

Given a location, returns the wind vector in it

Overrides: Wind.getSpeedVectorInLocation