code
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
package funkin.scripting.events;
|
||||
|
||||
import funkin.menus.StoryMenuState.WeekData;
|
||||
|
||||
class WeekSelectEvent extends CancellableEvent {
|
||||
/**
|
||||
* Week that is going to be selected
|
||||
*/
|
||||
public var week:WeekData;
|
||||
|
||||
/**
|
||||
* The difficulty that has been selected
|
||||
*/
|
||||
public var difficulty:String;
|
||||
|
||||
/**
|
||||
* At which emplacement the week is. Goes from 0 to the number of weeks - 1.
|
||||
*/
|
||||
public var weekID:Int;
|
||||
|
||||
/**
|
||||
* At which emplacement the difficulty is. Goes from 0 to the number of weeks - 1.
|
||||
*/
|
||||
public var difficultyID:Int;
|
||||
|
||||
public override function new(week:WeekData, difficulty:String, weekID:Int, difficultyID:Int) {
|
||||
super();
|
||||
|
||||
this.week = week;
|
||||
this.difficulty = difficulty;
|
||||
this.weekID = weekID;
|
||||
this.difficultyID = difficultyID;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user