Cleanup
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
#include <Game/Entity/Box.h>
|
||||
|
||||
void Box::Render() {
|
||||
void Game::Box::Render() {
|
||||
J2D::Begin(nullptr, true);
|
||||
J2D::FillRect(Colors::Red, Vector2(position), {20, 20});
|
||||
J2D::End();
|
||||
}
|
||||
|
||||
void Box::Update() {
|
||||
void Game::Box::Update() {
|
||||
if (Globals::Window->IsKeyDown(Keys::W))
|
||||
MoveY(-500);
|
||||
if (Globals::Window->IsKeyDown(Keys::S))
|
||||
|
Reference in New Issue
Block a user