Files
CodenameEngine/source/funkin/scripting/events/WeekSelectEvent.hx
T
2022-11-10 17:52:23 +01:00

34 lines
835 B
Haxe

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;
}
}