mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-02-02 20:35:53 +00:00
14 lines
412 B
Haxe
14 lines
412 B
Haxe
package touch;
|
|
|
|
import touch.TouchInput.Touch;
|
|
import h3d.Vector;
|
|
import hxd.Window;
|
|
import src.ResourceLoader;
|
|
import src.Settings;
|
|
|
|
class JumpButton extends TouchButton {
|
|
public function new() {
|
|
super(ResourceLoader.getImage("data/ui/touch/up-arrow.png").resource,
|
|
new Vector(Settings.touchSettings.jumpButtonPos[0], Settings.touchSettings.jumpButtonPos[1]), Settings.touchSettings.jumpButtonSize);
|
|
}
|
|
}
|