ecs::Event

More...

#include <Event.hpp>

Public Types

Name

enum

EventTypearrow-up-right { Null, Unknown, Quit, Move, MoveUp, MoveLeft, MoveDown, MoveRight, MoveStop, HitBox, Shoot, UIUp, UILeft, UIDown, UIRight, UIEnter}

Public Functions

Detailed Description

class ecs::Event;

Eventarrow-up-right class is used to manage every events gave by the user The Eventarrow-up-right class make the link between the user and the back-end

Public Types Documentation

enum EventType

Enumerator
Value
Description

Null

Unknown

Quit

Move

MoveUp

MoveLeft

MoveDown

MoveRight

MoveStop

HitBox

Shoot

UIUp

UILeft

UIDown

UIRight

UIEnter

List every type of event currently managed

Public Functions Documentation

function Event

Default constructor is deleted because you have to inform the event you want to treat

function Event

Parameters:

Constructor of Eventarrow-up-right class

function operator==

function operator==

function operator!=

function operator!=

function serialize


Updated on 2022-11-13 at 17:21:37 +0100

Last updated