added __on_start and defined better meta-events

This commit is contained in:
gnembon committed 2021-02-08 18:08:38 -04:00
1 parent 0a45778e4a
commit 4c09d6b736
8 files changed
+86 -22

No files matched your search

@@ -312,3 +312,19 @@ __on_player_swings_hand(player, hand) ->
print(' - player: '+player);
print(' - hand: '+hand);
);
__on_start() ->
(
print('');
print('__on_start(player)');
print('App is starting for '+player());
logger('starting for '+player());
);
__on_close() ->
(
print('');
print('__on_close(player)');
print('App is closing for '+player());
logger('App is closing for '+player());
);