-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGarnishLevel.hpp
More file actions
33 lines (24 loc) · 889 Bytes
/
Copy pathGarnishLevel.hpp
File metadata and controls
33 lines (24 loc) · 889 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#pragma once
#include "Level.hpp"
struct GarnishLevel : public Level {
GarnishLevel(GameMode *gm,
Scene::Object::ProgramInfo const &texture_program_info_,
Scene::Object::ProgramInfo const &depth_program_info_);
virtual ~GarnishLevel() {};
Scene::Object::ProgramInfo texture_program_info;
Scene::Object::ProgramInfo depth_program_info;
Scene::Object *steak = nullptr;
virtual void update(float elapsed) override;
virtual void fall_off(Scene::Object *o) override;
virtual void render_pass() override;
Scene::Object *create_food(std::string veg_name);
Scene::Object *create_bg(std::string veg_name);
void spawn_food();
uint32_t message = 0;
float messagetime;
float salt_time = 3.f;
float total_time = 0.f;
float time = 0.f;
float score = 0.f;
glm::vec3 pos = glm::vec3(10.0, 50.0f, 0.0f);
};