finished incorporating messaging into the UI window and added another custom control to make updating the UI easier

This commit is contained in:
James Daly
2019-06-14 22:15:58 -04:00
parent 0b52e91a3d
commit 38dbb7fa92
13 changed files with 131 additions and 193 deletions

View File

@@ -174,7 +174,7 @@ abstract class Move extends MoveTurn {
}
}
def applyBoosts(target: Monster, boosts: Map[Stat, Int], source: Monster) {
def applyBoosts(target: Monster, boosts: Map[Stat, Int], source: Monster)(implicit read: SignalConsumer, rng: Random) {
if (target.isAlive) {
boosts.foreach {
case (s, b) => {