diff src/th06/enemy.rs @ 690:eecb8626f472

ecl_vm: implement SetBulletLaunchOffset.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 17 Aug 2019 14:04:59 +0200
parents 482d81f50a11
children a35df65e0d57
line wrap: on
line diff
--- a/src/th06/enemy.rs
+++ b/src/th06/enemy.rs
@@ -19,8 +19,8 @@ pub struct Position {
 /// An offset which can be added to a Position.
 #[derive(Debug, Clone, Copy, Default, PartialEq)]
 pub struct Offset {
-    dx: f32,
-    dy: f32,
+    pub(crate) dx: f32,
+    pub(crate) dy: f32,
 }
 
 impl Position {