22 lines
350 B
C++
22 lines
350 B
C++
//Block class header
|
|
|
|
#ifndef __BLOCK_H_INLCUDED__
|
|
#define __BLOCK_H_INCLUDED__
|
|
|
|
#include"entity.h"
|
|
#include<SDL2/SDL.h>
|
|
#include<iostream>
|
|
#include"player.h"
|
|
|
|
class Entity;
|
|
|
|
class Block: public Entity{
|
|
public:
|
|
Block(int x,int y,int w,int h,SDL_Renderer** render, Player* player);
|
|
void print(int cameraX);
|
|
protected:
|
|
Player* posu;
|
|
};
|
|
|
|
#endif
|