From 57ddf172fc5badb1f4f7a72d5ff44257eacaab41 Mon Sep 17 00:00:00 2001 From: Robert Beekman Date: Thu, 3 Nov 2016 21:37:17 +0100 Subject: [PATCH] Updated LUA Events (markdown) --- LUA-Events.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/LUA-Events.md b/LUA-Events.md index f1e2bf4..067fe9f 100644 --- a/LUA-Events.md +++ b/LUA-Events.md @@ -3,7 +3,12 @@ Within the LUA environment you can use events to react to certain things, such a To use events you need to subscribe to them. You can subscribe to the same event more than once if you want. The examples below show how subscribing works. ---- +## Overview +* [ProfileUpdating](https://github.com/SpoinkyNL/Artemis/wiki/LUA-Events#profileupdating) +* [ProfileDrawing](https://github.com/SpoinkyNL/Artemis/wiki/LUA-Events#profiledrawing) +* [KeyboardKeyPressed](https://github.com/SpoinkyNL/Artemis/wiki/LUA-Events#keyboardkeypressed) + +## Functions ### ProfileUpdating Triggers whenever the profile is being updated. Use this event to process your own changes **before** every frame. If you want to change the way a layer is drawn, this is a good place to do so.