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
13
class
Player
:
public
engine::Base
{
14
public
:
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
25
private
:
26
std::string _bulletTextureName;
27
28
bool
_doubleBullet;
29
};
30
31
#endif
// URANUS_PLAYER_HPP
Player
Definition:
Player.hpp:13
engine::Base
Definition:
Base.hpp:15
engine::Event
Definition:
Event.hpp:14
include
game
Player.hpp
Generated by
1.9.5