Angel 3.2
A 2D Game Prototyping Engine
Public Member Functions | List of all members
ConfigUpdater Class Reference

(Internal) Just sits and checks the tuning file periodically More...

#include <LuaModule.h>

+ Inheritance diagram for ConfigUpdater:

Public Member Functions

void Reload ()
virtual void ReceiveMessage (Message *message)

Detailed Description

This internal class periodically checks the tuning.lua file in the Config directory and reloads it if it's been modified. This allows you to change the file at runtime and see your tuning affects right away.

Definition at line 48 of file LuaModule.h.

Member Function Documentation

void ConfigUpdater::ReceiveMessage ( Message m)

The Switchboard class will call this function for every Message to be deliverd to a designated listener. Implementations of this function should filter on Message::GetMessageName to make sure they're responding to the appropriate signals.

mThe message to be delivered.

Implements MessageListener.

Definition at line 216 of file LuaModule.cpp.

The documentation for this class was generated from the following files: