mirror of
https://github.com/jorenchik/testing-spring-2024.git
synced 2025-10-21 20:10:36 +00:00
10 lines
400 B
C++
10 lines
400 B
C++
#include "action.hh"
|
|
#include "player.hh"
|
|
#include "prep/prep.hh"
|
|
#include "role.hh"
|
|
|
|
bool playerBelongsToRoom(Player *player, Room *room);
|
|
bool actionBelongsToRole(Role *role, const Action *action);
|
|
bool isActionAllowed(const Action *action, std::vector<Event> *relevantEvents);
|
|
int validateAction(Player *actor, const Action *action, Room *room, std::vector<Event> *relatedEvents, Player *target);
|