0
0
mirror of https://github.com/Nimac0/SDL_Minigame synced 2026-01-12 15:53:42 +00:00
SDL_Minigame/include/Powerup.h
Nimac0 fcf14b20c4 framework for randomly spawning items
not collectable yet, dont get destroyed either, WIP
2024-01-28 14:56:09 +01:00

26 lines
326 B
C++

#pragma once
#include "Component.h"
#include "Manager.h"
#include "Vector2D.h"
#include <map>
enum class PowerupType
{
HEART,
WALKINGSPEED,
SHOOTINGSPEED
};
class Powerup
{
public:
Powerup(){}
~Powerup(){}
static Vector2D calculateSpawnPosition();
static PowerupType calculateType();
private:
Manager* manager;
};