Skip to content

Commit

Permalink
Update getting-started.md
Browse files Browse the repository at this point in the history
  • Loading branch information
benpollarduk authored Feb 5, 2024
1 parent a7ca8c4 commit 40943e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/mkdocs/docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ That was a lot to go through, but results in only a small amount of code. It sho
package com.github.benpollarduk.ktvn.getting.started

import com.github.benpollarduk.ktvn.characters.Character
import com.github.benpollarduk.ktvn.characters.Emotions
import com.github.benpollarduk.ktvn.characters.Emotions.happy
import com.github.benpollarduk.ktvn.characters.Narrator
import com.github.benpollarduk.ktvn.layout.Layout
import com.github.benpollarduk.ktvn.layout.Layout.Companion.createLayout
Expand Down Expand Up @@ -241,7 +241,7 @@ fun main(args: Array<String>) {
next { narrator narrates "Welcome to the story!" }
next { layout moveLeft ben }
next { ben says "Hi." }
next { ben looks Emotions.happy }
next { ben looks happy }
}
}
}
Expand Down

0 comments on commit 40943e8

Please sign in to comment.