2 * Copyright 2019-2020 Iwo 'Outfrost' Bujkiewicz
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
14 #include "engine/scene.h"
17 DIRECTION_UP = 1 << 0,
18 DIRECTION_DOWN = 1 << 1,
19 DIRECTION_LEFT = 1 << 2,
20 DIRECTION_RIGHT = 1 << 3,
23 typedef enum Direction Direction;
25 extern Scene* playerCharacter;
26 extern Scene* playerProjectedMovement;
29 void spawnPlayer(Transform transform);
30 void updatePlayer(float delta);
31 void startMovement(Direction direction);
32 void stopMovement(Direction direction);