aboutsummaryrefslogtreecommitdiff
path: root/src/scalevalapokalypsi/Model/Entities/Entity.scala
diff options
context:
space:
mode:
authorAleksi Heikkila <aleksi.e.heikkila@aalto.fi>2024-11-23 22:33:53 +0200
committerAleksi Heikkila <aleksi.e.heikkila@aalto.fi>2024-11-23 22:33:53 +0200
commit27dd937617cce1e43df1c16e12050f6e88763d54 (patch)
tree8247736f7c4d5b1a0c1541c25f477e73e5783944 /src/scalevalapokalypsi/Model/Entities/Entity.scala
parentb11c02e8f1f4dea09847da999c2acb2f96df8a58 (diff)
parent28b83db50f33cb704311ffe608dcd8c4412635cf (diff)
downloadscalevalapokalypsi-27dd937617cce1e43df1c16e12050f6e88763d54.tar.gz
scalevalapokalypsi-27dd937617cce1e43df1c16e12050f6e88763d54.zip
Merge branch 'master' of ssh://cron4.fi/~/O1-game
Diffstat (limited to 'src/scalevalapokalypsi/Model/Entities/Entity.scala')
-rw-r--r--src/scalevalapokalypsi/Model/Entities/Entity.scala6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/scalevalapokalypsi/Model/Entities/Entity.scala b/src/scalevalapokalypsi/Model/Entities/Entity.scala
index c7bc180..336a6b1 100644
--- a/src/scalevalapokalypsi/Model/Entities/Entity.scala
+++ b/src/scalevalapokalypsi/Model/Entities/Entity.scala
@@ -59,10 +59,7 @@ class Entity(
("Olet täysin kunnossa.", s"$name näyttää kuin vastasyntyneeltä.")
/** Does nothing, except possibly in inherited classes. */
- def observeString(observation: String): Unit =
- println(" [debug] entity got observation string & discarded it")
- def observe(event: Event): Unit =
- println(" [debug] entity got observation event & discarded it")
+ def observe(event: Event): Unit = ()
/** Returns the player’s current location. */
def location = this.currentLocation
@@ -194,4 +191,5 @@ class Entity(
+
end Entity