Subterfuge-Revived / Remake-Core

Core repository that holds all game logic for both front end rendering and back end validation.
Creative Commons Zero v1.0 Universal
39 stars 24 forks source link

Specialists #4

Closed QuinnBast closed 3 years ago

QuinnBast commented 4 years ago

This task includes creating a specialist class and creating specialists that inherit this class.

Inputs: None

Output:

Then in the onEvent method it will verify that the triggered event is the type of event it wants to watch for:

onEvent(Event e) {
if (e.eventType == EventType.onCombat) {
// do stuff
}
}