Basic job implementation #5
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "player"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This change also introduce a few new interfaces for everyone to use.
Action
Actor
are related, an actor can perform an action. They can be tacked on to anything that should be able to perform an action and provides the performAction method.
An action should be a class that takes all the information it needs to exectue in its constructor.
HasJob
is an interface for anyone that has a job. This allows you to get the job from the class, and since each job can perform an action you can pass actions into jobs.