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
380 B
20 lines
380 B
#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); |
|
void SetCenter(sf::RenderWindow *window, sf::Vector2f position); |
|
|
|
private: |
|
//sf::Vector2f position; |
|
sf::View view; |
|
}; |
|
|
|
#endif // CAMERA_H
|
|
|