Just roughing physics

This commit is contained in:
2023-01-07 17:07:16 -08:00
parent 19f688afe1
commit 15e7efb7f3
14 changed files with 151 additions and 0 deletions

View File

@ -0,0 +1,10 @@
# Copyright (c) 2023 Dominic Masters
#
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
# Sources
target_sources(${DAWN_TARGET_NAME}
PRIVATE
PhysicsManager.cpp
)

View File

@ -0,0 +1,13 @@
// Copyright (c) 2023 Dominic Masters
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
#include "PhysicsManager.hpp"
#include "game/DawnGame.hpp"
using namespace Dawn;
PhysicsManager::PhysicsManager(DawnGame *game) {
this->game = game;
}

View File

@ -0,0 +1,17 @@
// Copyright (c) 2023 Dominic Masters
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
#pragma once
namespace Dawn {
class DawnGame;
class PhysicsManager {
public:
DawnGame *game;
PhysicsManager(DawnGame *game);
};
}