From 96ddfd51046351b2568be2fc14a008d6dac69320 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erkki=20Sepp=C3=A4l=C3=A4?= Date: Sat, 18 Oct 2014 23:00:43 +0300 Subject: [PATCH] player: added missing accelerate/decelerate --- player.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/player.lua b/player.lua index f651d99..9545f51 100644 --- a/player.lua +++ b/player.lua @@ -15,6 +15,12 @@ Player = Class{ end, shoot = function(down) self.plane:shoot(down) + end, + accelerate = function(down) + self.plane:accelerate(down) + end, + decelerate = function(down) + self.plane:decelerate(down) end }