Started on CollisionSystem and TriggerSystem. Moved collision code to Collision folder.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#ifndef PlayerSystem_h__
|
||||
#define PlayerSystem_h__
|
||||
|
||||
#include <glm/common.hpp>
|
||||
|
||||
#include "Core/System.h"
|
||||
#include "Core/EventBroker.h"
|
||||
#include "ETrigger.h"
|
||||
|
||||
class TriggerSystem : public System
|
||||
{
|
||||
public:
|
||||
TriggerSystem(EventBroker* eventBroker)
|
||||
: System(eventBroker, "Trigger")
|
||||
{}
|
||||
|
||||
virtual void Update(World* world, ComponentWrapper& collision, double dt) override;
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user