You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
311 B
20 lines
311 B
9 years ago
|
#ifndef CAMERA_H
|
||
|
#define CAMERA_H
|
||
|
|
||
|
#include <SFML/Graphics.hpp>
|
||
|
|
||
|
class Camera
|
||
|
{
|
||
|
public:
|
||
|
Camera();
|
||
|
~Camera();
|
||
|
void SetNewView(sf::RenderWindow *window);
|
||
|
void MoveCamera(sf::RenderWindow *window, sf::Vector2f move);
|
||
|
|
||
|
private:
|
||
|
//sf::Vector2f position;
|
||
|
sf::View view;
|
||
|
};
|
||
|
|
||
|
#endif // CAMERA_H
|