VikingShip Class

Inherits: Extra

calcRotateTime
function calcRotateTime(a1, a2, r)

calcSailTime
function calcSailTime(p1, p2)

createRoute
function createRoute(startPos, landingPos)

init
function init(startPos, landingPos, vikingCount)

landingUpdate
function landingUpdate(step, k, dt)

load
function load(saveData)

nextStep
function nextStep

rotateUpdate
function rotateUpdate(step, k)

sailUpdate
function sailUpdate(step, k)

save
function save(saveData)

setPos
function setPos(position, rotation)

stayUpdate
function stayUpdate(step, k)

transform
function transform(step, func)

tryLandingOne
function tryLandingOne(position)

update
function update(dt)