mirror of
https://github.com/Nimac0/SDL_Minigame
synced 2026-01-12 15:53:42 +00:00
26 lines
326 B
C++
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;
|
|
}; |