mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-11-16 16:09:42 +01:00
24 lines
440 B
ActionScript
24 lines
440 B
ActionScript
|
package {
|
||
|
public class tmap {
|
||
|
public static function init():void {
|
||
|
for (var i:int = 0; i < 30; i++) {
|
||
|
contents.push("");
|
||
|
}
|
||
|
|
||
|
index = 0;
|
||
|
}
|
||
|
|
||
|
public static function reset():void {
|
||
|
index = 0;
|
||
|
}
|
||
|
|
||
|
public static function push(t:String):void {
|
||
|
contents[index] = t;
|
||
|
index++;
|
||
|
}
|
||
|
|
||
|
public static var contents:Vector.<String> = new Vector.<String>;
|
||
|
public static var index:int;
|
||
|
}
|
||
|
}
|