Jamie Slowgrove - PGG Assignment 1 - SDL
 All Classes Functions
block.h
1 #pragma once
2 #ifndef BLOCK_H
3 #define BLOCK_H
4 
5 #include "mapObject.h"
6 
10 class Block : public MapObject
11 {
12 private:
13  /*the type of the Block*/
14  int type;
15 public:
25  Block(Texture *, float, float, int, int);
26 
31  ~Block();
32 
38  void typeSetup(int);
39 
44  int getType();
45 };
46 #endif
~Block()
Definition: block.cpp:23
void typeSetup(int)
Definition: block.cpp:31
Block(Texture *, float, float, int, int)
Definition: block.cpp:6
Creates a MapObject object that inherits Entity.
Definition: mapObject.h:10
Creates a Block object that inherits MapObject.
Definition: block.h:10
Creates a Texture for use with a renderer Creates a Texture from an image file, this can then be used...
Definition: texture.h:13
int getType()
Definition: block.cpp:88