Sky Zone Omega - PC Version
 All Classes Namespaces Files Functions Variables Macros
EA_PlayerArrow.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_PlayerArrow : public EA_Arrow
12 {
13 public:
23 
28 
33  void update(float dt);
34 
35 private:
38 };
Contains the data and functions for the PlayerArrow.
Definition: EA_PlayerArrow.h:11
C_Vec2 dimensions
The dimensions of the Entity.
Definition: EB_Entity.h:94
void update(float dt)
A function that updates the PlayerArrow.
Definition: EA_PlayerArrow.cpp:12
Contains the Vec2 structure with functions and overloaded operators.
Definition: C_Vec2.h:7
~EA_PlayerArrow()
Destructs the PlayerArrow object.
Definition: EA_PlayerArrow.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
EA_PlayerArrow(C_Texture *sprite, C_Vec2 pos, C_Vec2 dimensions, C_Vec2 screenDimensions, float *universalSpeed)
Constructs the PlayerArrow object.
Definition: EA_PlayerArrow.cpp:3
float * universalSpeed
A pointer for the universal speed of the game.
Definition: EB_Entity.h:98
C_Vec2 screenDimensions
The screen dimensions.
Definition: EA_PlayerArrow.h:37
Creates a Texture for use with a renderer.
Definition: C_Texture.h:13