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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user