Rename ship/station scrap drop entities to "debris"
This commit is contained in:
18
src/lib/eventsystem/event/DebrisSelectionChangedEvent.h
Normal file
18
src/lib/eventsystem/event/DebrisSelectionChangedEvent.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "entt/entity/entity.hpp"
|
||||
|
||||
#include "Event.h"
|
||||
|
||||
// The set of currently selected debris (REQ-UI-DEBRIS-CLICK-SELECT,
|
||||
// REQ-UI-DEBRIS-MULTI-SELECT). An empty list means no debris is selected. Debris forms
|
||||
// its own selection category, mutually exclusive with buildings and entities.
|
||||
class DebrisSelectionChangedEvent : public Event
|
||||
{
|
||||
public:
|
||||
explicit DebrisSelectionChangedEvent(std::vector<entt::entity> debris)
|
||||
: debris(std::move(debris)) {}
|
||||
const std::vector<entt::entity> debris;
|
||||
};
|
||||
@@ -1,18 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "entt/entity/entity.hpp"
|
||||
|
||||
#include "Event.h"
|
||||
|
||||
// The set of currently selected scrap piles (REQ-UI-SCRAP-CLICK-SELECT,
|
||||
// REQ-UI-SCRAP-MULTI-SELECT). An empty list means no scrap is selected. Scrap forms
|
||||
// its own selection category, mutually exclusive with buildings and entities.
|
||||
class ScrapSelectionChangedEvent : public Event
|
||||
{
|
||||
public:
|
||||
explicit ScrapSelectionChangedEvent(std::vector<entt::entity> scrap)
|
||||
: scrap(std::move(scrap)) {}
|
||||
const std::vector<entt::entity> scrap;
|
||||
};
|
||||
Reference in New Issue
Block a user