Initial commit.
This commit is contained in:
commit
74c23c0ad5
57 changed files with 3491 additions and 0 deletions
26
Client/LocalPlayer.h
Normal file
26
Client/LocalPlayer.h
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#pragma once
|
||||
|
||||
#include <Shared.h>
|
||||
#include "Client.h"
|
||||
#include "Graphics/Camera.h"
|
||||
|
||||
namespace Artifact {
|
||||
|
||||
class LocalPlayerImpl: public ClientSubsystem {
|
||||
public:
|
||||
std::unique_ptr<Camera> camera = nullptr;
|
||||
};
|
||||
|
||||
class LocalPlayer: public LocalPlayerImpl {
|
||||
WindowImpl * window = nullptr;
|
||||
|
||||
public:
|
||||
LocalPlayer() {
|
||||
//camera = std::make_unique<Camera>(glm::vec3(0, 0, 0), 75);
|
||||
}
|
||||
|
||||
void init() override;
|
||||
void tick() override;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue