43 lines
592 B
C++
43 lines
592 B
C++
#pragma once
|
|
|
|
#include "definitions.hpp"
|
|
#include "physics.hpp"
|
|
#include "sprite.hpp"
|
|
|
|
#include <entt/entt.hpp>
|
|
|
|
struct Background
|
|
{
|
|
};
|
|
|
|
struct Fruit
|
|
{
|
|
};
|
|
|
|
struct Spider
|
|
{
|
|
};
|
|
|
|
struct Item
|
|
{
|
|
};
|
|
|
|
struct Basket
|
|
{
|
|
};
|
|
|
|
struct BasketCollisionBox
|
|
{
|
|
};
|
|
|
|
struct LevelModule
|
|
{
|
|
LevelModule(entt::registry& registry);
|
|
|
|
static void MoveBasket(entt::registry& registry);
|
|
static void SpawnFruits(entt::registry& registry);
|
|
static void CollectFruit(entt::registry ®istry);
|
|
static void CollectSpider(entt::registry ®istry);
|
|
static void DespawnItems(entt::registry ®istry);
|
|
};
|