Last active
January 21, 2020 02:51
-
-
Save thealmikey/51465272c3cfb4a66d492d20154b33e0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun main() { | |
var regularMike = Human("Mike Regular") | |
regularMike.emotionalState.transition(HumanAction.Entertain) | |
println(regularMike.emotionalState.state) | |
// Hapiness message | |
// HumanState$Happy@5b37e0d2 | |
regularMike.emotionalState.transition(HumanAction.GiveLecture) | |
println(regularMike.emotionalState.state) | |
//BoredNess message | |
// HumanState$Bored@28c97a5 | |
regularMike.emotionalState.transition(HumanAction.Annoy) | |
println(regularMike.emotionalState.state) | |
//Bad vibes message | |
//HumanState$Sad@2328c243 | |
regularMike.emotionalState.transition(HumanAction.GiveTherapy) | |
println(regularMike.emotionalState.state) | |
//Goodwork report | |
// HumanState$Bored@28c97a5 | |
regularMike.emotionalState.transition(HumanAction.GiveTherapy) | |
println(regularMike.emotionalState.state) | |
//Goodwork report | |
// HumanState$Happy@736e9adb | |
regularMike.emotionalState.transition(HumanAction.GiveTherapy) | |
println(regularMike.emotionalState.state) | |
// Goodwork report | |
// HumanState$PureBliss@23ab930d | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment