diff src/th06/enemy.rs @ 699:2a60f12bd5bd

ecl_vm: stub SetBossMode.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 23 Aug 2019 02:40:27 +0200
parents 05e0425a8bc5
children b6c351ca0a35
line wrap: on
line diff
--- a/src/th06/enemy.rs
+++ b/src/th06/enemy.rs
@@ -384,6 +384,14 @@ impl Enemy {
         println!("Playing sound {}!", sound_index);
     }
 
+    /// Stubbed for now.
+    pub(crate) fn set_boss(&self, enable: bool) {
+        match enable {
+            true => println!("Enemy is now boss!"),
+            false => println!("Enemy is not boss anymore."),
+        }
+    }
+
     /// Run all interpolators and such, and update internal variables once per
     /// frame.
     pub fn update(&mut self) {