2022-03-08 08:13:53 +00:00
|
|
|
package funkin;
|
2020-10-13 08:07:04 +00:00
|
|
|
|
2022-09-16 05:44:50 +00:00
|
|
|
import funkin.noteStuff.NoteBasic.NoteData;
|
2022-01-22 21:53:38 +00:00
|
|
|
|
2020-10-24 09:19:13 +00:00
|
|
|
typedef SwagSection =
|
|
|
|
{
|
2023-01-23 03:25:45 +00:00
|
|
|
var sectionNotes:Array<NoteData>;
|
|
|
|
var lengthInSteps:Int;
|
|
|
|
var typeOfSection:Int;
|
|
|
|
var mustHitSection:Bool;
|
|
|
|
var bpm:Float;
|
|
|
|
var changeBPM:Bool;
|
|
|
|
var altAnim:Bool;
|
2020-10-24 09:19:13 +00:00
|
|
|
}
|
|
|
|
|
2020-10-13 08:07:04 +00:00
|
|
|
class Section
|
|
|
|
{
|
2023-01-23 03:25:45 +00:00
|
|
|
public var sectionNotes:Array<Dynamic> = [];
|
2020-10-13 08:07:04 +00:00
|
|
|
|
2023-01-23 03:25:45 +00:00
|
|
|
public var lengthInSteps:Int = 16;
|
|
|
|
public var typeOfSection:Int = 0;
|
|
|
|
public var mustHitSection:Bool = true;
|
2020-10-16 04:22:13 +00:00
|
|
|
|
2023-01-23 03:25:45 +00:00
|
|
|
/**
|
|
|
|
* Copies the first section into the second section!
|
|
|
|
*/
|
|
|
|
public static var COPYCAT:Int = 0;
|
2020-10-13 08:07:04 +00:00
|
|
|
|
2023-01-23 03:25:45 +00:00
|
|
|
public function new(lengthInSteps:Int = 16)
|
|
|
|
{
|
|
|
|
this.lengthInSteps = lengthInSteps;
|
|
|
|
}
|
2020-10-13 08:07:04 +00:00
|
|
|
}
|