From 1374ba664d8cd836b5c003ba9ec128e3ba95a134 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Fri, 29 Sep 2017 17:04:03 -0700 Subject: [PATCH] Updating README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ab51311..97cccd2 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ core of the engine was the `Actor` class, the functionality of which could be ex property definitions were specified in XML; for example, below is the definition for the playable character: -``` +```xml @@ -35,7 +35,7 @@ Lua script with the actor. Scripts would get notifications about events such as processing could take place: -``` +```lua function OnActorUpdate(elapsed) if InputIsKeyTriggered(META_KEY_USE) then DoActorUse() @@ -63,7 +63,7 @@ messaging system. This made it possible to build any game object imaginable by e simple scripting. -``` +```lua function DoActorWalk(direction) if playerAction == ACTION_WALK and playerDirection == direction then return