forked from NTUT-FUCK-PTSD/Fuck-PTSD
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
57 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// | ||
// Created by adven on 2024/5/2. | ||
// | ||
|
||
#ifndef FUCK_PTSD_ISC_H | ||
#define FUCK_PTSD_ISC_H | ||
|
||
#include "HEIS.h" | ||
#include "HPIS.h" | ||
#include "Signal.h" | ||
|
||
#include <iostream> | ||
|
||
namespace Game::Systems { | ||
/** | ||
* @note internal-system-communication | ||
*/ | ||
class ISC final { | ||
public: | ||
template <class... Args> | ||
static void Handle(Systems::Signal signal, Args&&... args) { | ||
switch (signal) { | ||
case Systems::Signal::ADD_DROP_WEAPON: | ||
HEIS::MakeTile(std::forward<Args>(args)...); | ||
break; | ||
} | ||
}; | ||
|
||
private: | ||
}; | ||
} // namespace Game::Systems | ||
|
||
#endif // FUCK_PTSD_ISC_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters