2022-03-08 03:13:53 -05:00
|
|
|
package funkin;
|
2020-10-13 04:07:04 -04:00
|
|
|
|
2022-03-08 03:13:53 -05:00
|
|
|
import funkin.Note.NoteData;
|
2022-01-22 16:53:38 -05:00
|
|
|
|
2020-10-24 05:19:13 -04:00
|
|
|
typedef SwagSection =
|
|
|
|
{
|
2022-01-22 16:53:38 -05:00
|
|
|
var sectionNotes:Array<NoteData>;
|
2020-10-24 05:19:13 -04:00
|
|
|
var lengthInSteps:Int;
|
|
|
|
var typeOfSection:Int;
|
|
|
|
var mustHitSection:Bool;
|
2021-03-20 12:33:29 -04:00
|
|
|
var bpm:Float;
|
2020-10-29 23:06:52 -04:00
|
|
|
var changeBPM:Bool;
|
2021-01-16 15:14:56 -05:00
|
|
|
var altAnim: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;
|
|
|
|
}
|
|
|
|
}
|