scene/boost: use the included input manager
This commit is contained in:
parent
4ac18039a9
commit
cf64040dce
2 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ function Player:new(manager, playerid, character, rail)
|
||||||
end
|
end
|
||||||
|
|
||||||
function Player:getKeys()
|
function Player:getKeys()
|
||||||
return core.input.keys
|
return self.controller.keys
|
||||||
end
|
end
|
||||||
|
|
||||||
function Player:wrapActor()
|
function Player:wrapActor()
|
||||||
|
|
|
@ -110,7 +110,7 @@ function BoostLevel:update(dt)
|
||||||
--self.pausemenu:update(dt)
|
--self.pausemenu:update(dt)
|
||||||
end
|
end
|
||||||
|
|
||||||
if core.input.keys["start"].isPressed then
|
if self.keys["start"].isPressed then
|
||||||
self.pause = (self.pause == false)
|
self.pause = (self.pause == false)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue