This repository has been archived on 2025-03-10. You can view files and clone it, but cannot push or open issues or pull requests.
NFRev1/Game/src/include/MainState.h

34 lines
621 B
C++

#pragma once
#include "NothinFancy.h"
class MainState : public nf::Gamestate {
public:
void onEnter() override;
void update(float deltaTime) override;
void render(nf::Renderer& renderer) override;
void onExit() override;
private:
nf::Camera::Type currCamType;
nf::AssetPack ap;
nf::Entity test;
nf::Entity plane;
nf::Text text;
nf::Text gravText;
nf::UITexture uiTex;
nf::Button button;
nf::Button button2;
nf::Light light;
nf::Light light2;
nf::Light light3;
nf::Cubemap cm;
nf::Sound sound;
nf::Sound sound2;
float grav;
std::vector<nf::Entity*> entities;
};