Merge remote-tracking branch 'origin/master' into Sound
# Conflicts: # assets
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#include "Core/EEntityDeleted.h"
|
||||
#include "Collision/ETrigger.h"
|
||||
#include "Core/EPause.h"
|
||||
#include "Game/Events/EDoubleJump.h"
|
||||
|
||||
|
||||
typedef std::pair<ALuint, std::vector<ALuint>> QueuedBuffers;
|
||||
@@ -152,6 +153,8 @@ private:
|
||||
bool OnPause(const Events::Pause &e);
|
||||
EventRelay<SoundSystem, Events::Resume> m_EResume;
|
||||
bool OnResume(const Events::Resume &e);
|
||||
EventRelay<SoundSystem, Events::DoubleJump> m_EDoubleJump;
|
||||
bool OnDoubleJump(const Events::DoubleJump &e);
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
#ifndef Events_DoubleJump_h__
|
||||
#define Events_DoubleJump_h__
|
||||
|
||||
#include "Core/Event.h"
|
||||
|
||||
namespace Events
|
||||
{
|
||||
|
||||
struct DoubleJump : public Event
|
||||
{
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -4,6 +4,7 @@
|
||||
#include "Core/EPlayerSpawned.h"
|
||||
#include "Input/FirstPersonInputController.h"
|
||||
#include <imgui/imgui.h>
|
||||
#include "Events/EDoubleJump.h"
|
||||
|
||||
class PlayerMovementSystem : public ImpureSystem, PureSystem
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user