As an engineer, I want to define a trait for message template providers so that we can easily expand the number of string templates available to the player.
See #26.
This will be simple; all it needs is a method that accepts an integer and returns a string. Although it might be generic over static strings (&'static str), strings with a specific lifetime (&'a str), and owned String objects. I'll have to think about that.
Tasks
[x] Create the message template provider trait.
Acceptance Criteria
[x] Message template provider trait has been implemented.
User Story
As an engineer, I want to define a trait for message template providers so that we can easily expand the number of string templates available to the player.
See #26.
This will be simple; all it needs is a method that accepts an integer and returns a string. Although it might be generic over static strings (&'static str), strings with a specific lifetime (&'a str), and owned String objects. I'll have to think about that.
Tasks
Acceptance Criteria