platform-test/source/entity/block.h

23 lines
371 B
C
Raw Normal View History

2017-04-29 18:43:17 +00:00
//Block class header
#ifndef __BLOCK_H_INLCUDED__
#define __BLOCK_H_INCLUDED__
#include"entity.h"
#include<SDL.h>
2017-04-29 18:43:17 +00:00
#include<iostream>
#include"player.h"
2017-04-29 18:43:17 +00:00
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;
2017-04-29 18:43:17 +00:00
};
#endif