platform-test/source/entity/block.h

23 lines
371 B
C++

//Block class header
#ifndef __BLOCK_H_INLCUDED__
#define __BLOCK_H_INCLUDED__
#include"entity.h"
#include<SDL.h>
#include<iostream>
#include"player.h"
class Entity;
class Block: public Entity{
public:
Block(SDL_Renderer* render, Player* ply);
void printAndCheck(int dimensions[], int cameraX);
protected:
Player* player;
SDL_Renderer* renderer;
};
#endif