From ec69f40540317215d0f30e1f8e43d0e18450f8cc Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Sun, 22 Dec 2024 20:05:02 +0100 Subject: `make format` --- game/prefab/ZapperScript.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'game/prefab/ZapperScript.cpp') diff --git a/game/prefab/ZapperScript.cpp b/game/prefab/ZapperScript.cpp index b9b24be..01eb7aa 100644 --- a/game/prefab/ZapperScript.cpp +++ b/game/prefab/ZapperScript.cpp @@ -1,12 +1,12 @@ -#include #include +#include #include "ZapperScript.h" using namespace crepe; using namespace std; -ZapperScript::ZapperScript(const ZapperObject & zapper) : zapper(zapper) { } +ZapperScript::ZapperScript(const ZapperObject & zapper) : zapper(zapper) {} void ZapperScript::init() { zapper.sprite.beam.mask = { @@ -17,7 +17,4 @@ void ZapperScript::init() { }; } -void ZapperScript::frame_update(duration_t delta_time) { - zapper.sprite.beam.mask.x += 4; -} - +void ZapperScript::frame_update(duration_t delta_time) { zapper.sprite.beam.mask.x += 4; } -- cgit v1.2.3