Sky Zone Omega - PC Version
 All Classes Namespaces Files Functions Variables Macros
EA_ArcherArrow.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <SDL.h>
4 #include "EA_Arrow.h"
5 #include "../../Core/C_Vec2.h"
6 
11 class EA_ArcherArrow : public EA_Arrow
12 {
13 public:
22 
27 
32  void update(float dt);
33 };
void update(float dt)
A function that updates the ArcherArrow.
Definition: EA_ArcherArrow.cpp:12
C_Vec2 dimensions
The dimensions of the Entity.
Definition: EB_Entity.h:94
Contains the data and functions for the ArcherArrow.
Definition: EA_ArcherArrow.h:11
Contains the Vec2 structure with functions and overloaded operators.
Definition: C_Vec2.h:7
EA_ArcherArrow(C_Texture *sprite, C_Vec2 pos, C_Vec2 dimensions, float *universalSpeed)
Constructs the ArcherArrow object.
Definition: EA_ArcherArrow.cpp:3
~EA_ArcherArrow()
Destructs the ArcherArrow object.
Definition: EA_ArcherArrow.cpp:8
Contains the data and functions for the Arrow.
Definition: EA_Arrow.h:11
C_Vec2 pos
The position of the Entity.
Definition: EB_Entity.h:92
C_Texture * sprite
A pointer to the Entity Texture.
Definition: EB_Entity.h:90
float * universalSpeed
A pointer for the universal speed of the game.
Definition: EB_Entity.h:98
Creates a Texture for use with a renderer.
Definition: C_Texture.h:13