Ticket #18 (new task)

Opened 3 years ago

Last modified 1 year ago

Add command functionality to the Spirit class

Reported by: ged Assigned to: ged
Priority: normal Milestone: VolitionEpic
Component: GameWorld Version: 1.0
Severity: normal Keywords: spirit volition command parser io
Cc:

Description

Add volition to the Spirit class:

  • house the Player's volition in the form of a CommandParser.
  • provide input/output buffering to:
    • Collect user input into lines via #onInputReady.
    • Send lines to the CommandParser
    • Handle parse/resolution errors
  • Provide output facilities that translate events into descriptive narrative text given to the #onOutput handler.