2023-04-20 07:31:41 +08:00
|
|
|
#ifndef FIRSTPERSON_H
|
|
|
|
#define FIRSTPERSON_H
|
|
|
|
|
|
|
|
#include <SFML/Graphics.hpp>
|
2023-04-20 09:21:21 +08:00
|
|
|
#include "camera.h"
|
2023-04-20 07:31:41 +08:00
|
|
|
|
|
|
|
int firstperson_init(unsigned int width, unsigned int height);
|
2023-04-20 09:21:21 +08:00
|
|
|
void firstperson_update(sf::RenderTarget* renderTarget, Camera* camera);
|
2023-04-20 07:31:41 +08:00
|
|
|
void firstperson_setTexturePosition(float x, float y);
|
|
|
|
|
|
|
|
#endif
|