Constructor

new(week:WeekData, difficulty:String, weekID:Int, difficultyID:Int)

Variables

difficulty:String

The difficulty that has been selected

difficultyID:Int

At which emplacement the difficulty is. Goes from 0 to the number of weeks - 1.

week:WeekData

Week that is going to be selected

weekID:Int

At which emplacement the week is. Goes from 0 to the number of weeks - 1.

Inherited Variables

Defined by CancellableEvent

@:value({ })data:Dynamic = { }

Additional data if used in scripts

Inherited Methods

Defined by CancellableEvent

@:value({ c : false })preventDefault(c:Bool = false):Void

Prevents default action from occuring.

Parameters:

c

Whenever the scripts following this one should be called or not. (Defaults to true)

toString():String

Returns a string representation of the event, in this format: [CancellableEvent] [CancellableEvent (Cancelled)]

Returns:

String