Jamie Slowgrove - MGP Assignment 2 - JAM
 All Classes Namespaces Files Functions Variables Macros
Robot.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "JAM/Entity.h"
4 
9 class Robot : public JAM_Entity
10 {
11 private:
12 public:
21  Robot(JAM_Texture* sprite, float x, float y, float width, float height);
22 
26  ~Robot();
27 
32  void update(float dt);
33 };
JAM_Texture * sprite
Definition: Entity.h:14
Creates a Texture for use with a renderer. Creates a Texture from an image file, this can then be use...
Definition: Texture.h:13
Creates a Robot object that inherits Entity.
Definition: Robot.h:9
void update(float dt)
Definition: Robot.cpp:21
~Robot()
Definition: Robot.cpp:14
Creates an Entity object.
Definition: Entity.h:10
Robot(JAM_Texture *sprite, float x, float y, float width, float height)
Definition: Robot.cpp:6