From 8c9a558932fbaeeb26f26cf7fa16af7a92ecd976 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Mon, 28 May 2007 17:13:20 +0000 Subject: [PATCH] Have GameDefinition include all the classes it will naturally require. git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@305 c613c5cb-e716-0410-b11b-feb51c14d237 --- src/as/com/threerings/ezgame/data/GameDefinition.as | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/as/com/threerings/ezgame/data/GameDefinition.as b/src/as/com/threerings/ezgame/data/GameDefinition.as index aa6c7edd..ba5c911e 100644 --- a/src/as/com/threerings/ezgame/data/GameDefinition.as +++ b/src/as/com/threerings/ezgame/data/GameDefinition.as @@ -104,5 +104,17 @@ public /*abstract*/ class GameDefinition out.writeObject(match); out.writeObject(params); } + + /** This function is required to ensure that the compiler includes certain classes. */ + public function fuckingCompiler () :void + { + var c :Class; + // Parameter derivations + c = RangeParameter; + c = ToggleParameter; + c = ChoiceParameter; + // MatchConfig derivations + c = TableMatchConfig; + } } }