platform-test/source/entity/powerup.h

21 lines
322 B
C++

//Powerup class header
#ifndef __POWERUP_H_INCLUDED__
#define __POWERUP_H_INCLUDED__
#include<SDL.h>
#include<iostream>
#include"entity.h"
#include"player.h"
class Entity;
class Powerup: public Entity{
public:
Powerup(int x, int y, SDL_Renderer** render, Player* player,int);
protected:
Player* posu;
};
#endif