Funkin/source/Section.hx

31 lines
547 B
Haxe
Raw Normal View History

2020-10-13 04:07:04 -04:00
package;
2020-10-24 05:19:13 -04:00
typedef SwagSection =
{
var sectionNotes:Array<Dynamic>;
var lengthInSteps:Int;
var typeOfSection:Int;
var mustHitSection:Bool;
2020-10-30 19:47:19 -04:00
var bpm:Int;
var changeBPM:Bool;
2020-10-24 05:19:13 -04:00
}
2020-10-13 04:07:04 -04:00
class Section
{
2020-10-18 22:18:06 -04:00
public var sectionNotes:Array<Dynamic> = [];
2020-10-13 04:07:04 -04:00
public var lengthInSteps:Int = 16;
2020-10-16 00:22:13 -04:00
public var typeOfSection:Int = 0;
public var mustHitSection:Bool = true;
/**
* Copies the first section into the second section!
*/
public static var COPYCAT:Int = 0;
2020-10-13 04:07:04 -04:00
public function new(lengthInSteps:Int = 16)
{
this.lengthInSteps = lengthInSteps;
}
}