コード例 #1
0
    // wrapper to handle log and sounds
    internal void AcceptInput(string input)
    {
        _modelinfo.AcceptInput(input);
        Message = Model.CurrentMessage;
        Status  = Model.Status ?? "Level {0}".Fmt(Model.CurrentLevelIndex);

        PlaySounds(Model.Sounds);
    }