Class GUI.Mission.MissionTimer

Method Index

new MissionTimer()
SetSuccessType(), SetTimer(), SlotInstanceDying(), TimerCallback()

Constructor Detail

MissionTimer

public function MissionTimer()

Method Detail

SetTimer

public function SetTimer(timestamp:Number, firstWarning:Number, criticalWarning:Number)

sets the timer and starts it

Parameters

SetSuccessType

public function SetSuccessType(isSuccessOnCompletion:Boolean):Void

sets a flag defining if the completed timer will result in success or fail (this will be used to determine) if the flashing missions at the end will flash green or red

Parameters

TimerCallback

function TimerCallback()

SlotInstanceDying

static public function SlotInstanceDying(obj:Object)