Logic module¶
Provides the abstract classes for the program
-
class
FarmAction¶ Bases:
objectThis abstract class represents the ‘farming’ actions. Each farming module has to inherent from this class.
Notes
-Used like an interface
-
after_run()¶ Runs it after exit_event
-
exit_event()¶ Exists the event , back to main yard
-
get_to_event()¶ Get in game to the event screen
-
is_available()¶ Can you execute the event
Returns: Can you execute the event Return type: bool
-
run()¶ Runs the farming action
-