//---------------------------------------------------------
 void GameState(string[] args)
 {
     if (args.Length > 0)
     {
         gamestate.executeStateCommand(args[0]);
     }
     else
     {
         AppendLogLine(gamestate.AvailableObjects());
     }
 }