-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBasicLevel.hpp.orig
More file actions
29 lines (23 loc) · 815 Bytes
/
Copy pathBasicLevel.hpp.orig
File metadata and controls
29 lines (23 loc) · 815 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
#pragma once
#include "Level.hpp"
#include "Portal.hpp"
struct BasicLevel : public Level {
BasicLevel(GameMode *gm,
Scene::Object::ProgramInfo const &texture_program_info,
Scene::Object::ProgramInfo const &depth_program_info);
Scene::Object::ProgramInfo texture_program_info;
Scene::Object::ProgramInfo depth_program_info;
virtual void update(float elapsed) override;
virtual bool collision(Scene::Object *o1, Scene::Object *o2) override;
virtual void fall_off(Scene::Object *o) override;
virtual void render_pass() override;
Scene::Object *create_food(std::string veg_name);
void spawn_food();
uint32_t fruit_hit = 0;
float fruit_timer = 0.f;
<<<<<<< HEAD
float messagetime;
};
=======
};
>>>>>>> 0ff6c73994f3638b8ce4be8afe1e44b4b58e9e08