1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-25 08:13:45 +00:00
Funkin/source/Section.hx

32 lines
568 B
Haxe
Raw Normal View History

2020-10-13 08:07:04 +00:00
package;
2020-10-24 09:19:13 +00:00
typedef SwagSection =
{
var sectionNotes:Array<Dynamic>;
var lengthInSteps:Int;
var typeOfSection:Int;
var mustHitSection:Bool;
var bpm:Float;
2020-10-30 03:06:52 +00:00
var changeBPM:Bool;
2021-01-16 20:14:56 +00:00
var altAnim:Bool;
2020-10-24 09:19:13 +00:00
}
2020-10-13 08:07:04 +00:00
class Section
{
2020-10-19 02:18:06 +00:00
public var sectionNotes:Array<Dynamic> = [];
2020-10-13 08:07:04 +00:00
public var lengthInSteps:Int = 16;
2020-10-16 04:22:13 +00: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 08:07:04 +00:00
public function new(lengthInSteps:Int = 16)
{
this.lengthInSteps = lengthInSteps;
}
}