C++ Libraries and Cleanup

This commit is contained in:
Asrın Doğan 2020-01-04 17:32:00 +03:00
parent 90ea449e72
commit fc5af1441f
3 changed files with 3 additions and 31 deletions

View File

@ -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)

View File

@ -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"
}
}

View File

@ -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();