Jamie Slowgrove - MGP Assignment 2 - JAM
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Macros
jni
src
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_Entity::sprite
JAM_Texture * sprite
Definition:
Entity.h:14
JAM_Texture
Creates a Texture for use with a renderer. Creates a Texture from an image file, this can then be use...
Definition:
Texture.h:13
Entity.h
Robot
Creates a Robot object that inherits Entity.
Definition:
Robot.h:9
Robot::update
void update(float dt)
Definition:
Robot.cpp:21
Robot::~Robot
~Robot()
Definition:
Robot.cpp:14
JAM_Entity
Creates an Entity object.
Definition:
Entity.h:10
Robot::Robot
Robot(JAM_Texture *sprite, float x, float y, float width, float height)
Definition:
Robot.cpp:6
Generated on Fri May 8 2015 04:37:50 for Jamie Slowgrove - MGP Assignment 2 - JAM by
1.8.8