C++ Libraries and Cleanup
This commit is contained in:
parent
90ea449e72
commit
fc5af1441f
|
@ -1,7 +1,7 @@
|
|||
#include <SFML/Graphics.hpp>
|
||||
#include <sstream> // std::ostringstream
|
||||
#include <vector>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include "Player.hpp"
|
||||
|
||||
#define WindowSize sf::VideoMode(960, 540)
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
{
|
||||
"files.associations": {
|
||||
"vector": "cpp",
|
||||
"ios": "cpp",
|
||||
"ostream": "cpp",
|
||||
"sstream": "cpp",
|
||||
"deque": "cpp",
|
||||
"exception": "cpp",
|
||||
"fstream": "cpp",
|
||||
"istream": "cpp",
|
||||
"iterator": "cpp",
|
||||
"map": "cpp",
|
||||
"memory": "cpp",
|
||||
"set": "cpp",
|
||||
"streambuf": "cpp",
|
||||
"system_error": "cpp",
|
||||
"tuple": "cpp",
|
||||
"utility": "cpp",
|
||||
"xlocale": "cpp",
|
||||
"xlocinfo": "cpp",
|
||||
"xstring": "cpp",
|
||||
"xtree": "cpp",
|
||||
"xutility": "cpp",
|
||||
"iostream": "cpp",
|
||||
"cmath": "cpp",
|
||||
"iosfwd": "cpp"
|
||||
}
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
#include <SFML/Graphics.hpp>
|
||||
#include <vector>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
class Entity;
|
||||
|
||||
|
@ -34,9 +34,9 @@ class Entity
|
|||
public:
|
||||
Entity();
|
||||
void ApplyForce(sf::Vector2f, float);
|
||||
void ApplyDrag(float, float);
|
||||
void ApplyGravity(float);
|
||||
void ApplyVelocity(float);
|
||||
void ApplyDrag(float, float);
|
||||
void SetPosition(float, float, bool = true);
|
||||
void SetVelocity(float, float, bool = true);
|
||||
sf::Vertex &GetVertex();
|
||||
|
|
Loading…
Reference in New Issue