diff src/th06/enemy.rs @ 683:8c50a7b19425

ecl_vm: more work
author Gauvain "GovanifY" Roussel-Tarbouriech <gauvain@govanify.com>
date Fri, 16 Aug 2019 23:45:28 +0200
parents 082c39d7d1c3
children c8bb28961d31
line wrap: on
line diff
--- a/src/th06/enemy.rs
+++ b/src/th06/enemy.rs
@@ -207,7 +207,7 @@ pub struct Enemy {
     timeout_callback: Option<Callback>,
 
     // Laser.
-    laser_by_id: HashMap<u32, Laser>,
+    pub(crate) laser_by_id: HashMap<u32, Laser>,
 
     // Options.
     // TODO: actually a 8 element array.