Uranus  1.0.1.0
Uranus is a GameEngine written in C++
Loading...
Searching...
No Matches
Player.hpp
1/*
2** EPITECH PROJECT, 2023
3** Player.hpp
4** File description:
5** Player.hpp
6*/
7
8#ifndef URANUS_PLAYER_HPP
9#define URANUS_PLAYER_HPP
10
11#include "uranus/engine/Engine.hpp"
12
13class Player : public engine::Base {
14public:
15 explicit Player(const std::string &uniqueName, std::shared_ptr<engine::Texture> &texture, const std::string &bulletTextureName);
16
17 void move(size_t entity, const engine::Event event);
18
19 void shoot();
20
21 void colliding(const size_t &entity, const size_t &entityCollidingWith);
22
23 void enableDoubleBullet();
24
25private:
26 std::string _bulletTextureName;
27
28 bool _doubleBullet;
29};
30
31#endif // URANUS_PLAYER_HPP
Definition: Player.hpp:13
Definition: Base.hpp:15
Definition: Event.hpp:14