map 4 directions in handloose
This commit is contained in:
@@ -7,6 +7,8 @@ import flixel.util.FlxColor;
|
||||
import flixel.input.gamepad.FlxGamepad;
|
||||
import flixel.text.FlxText;
|
||||
import haxe.ds.Option;
|
||||
import kiss.Prelude;
|
||||
import kiss.List;
|
||||
|
||||
using flixel.util.FlxSpriteUtil;
|
||||
|
||||
@@ -36,13 +38,6 @@ class TypingState extends FlxState
|
||||
return spr;
|
||||
}
|
||||
|
||||
override public function update(elapsed:Float)
|
||||
{
|
||||
super.update(elapsed);
|
||||
|
||||
var lastId = getFirstInputId();
|
||||
}
|
||||
|
||||
function getFirstInputId():Option<Int> {
|
||||
// Important: can be null if there's no active gamepad yet!
|
||||
var gamepad:FlxGamepad = FlxG.gamepads.lastActive;
|
||||
|
Reference in New Issue
Block a user