diff ship.d @ 15:8e6a9e390cba

Added binary win32 demo
author zzzzrrr <mason.green@gmail.com>
date Tue, 24 Mar 2009 11:06:16 -0400
parents af1e8620f027
children 82efafc87d54
line wrap: on
line diff
--- a/ship.d	Mon Mar 23 14:06:47 2009 -0400
+++ b/ship.d	Tue Mar 24 11:06:16 2009 -0400
@@ -71,7 +71,10 @@
     bzVec2 rightTurnPoint;
 	State state;
 	
-    float maxLinVel = 100;
+    float battery;
+    float crew;
+    
+    float maxLinVel = 50;
     float maxAngVel = 2;
     
     this(bzWorld world) {
@@ -99,7 +102,7 @@
     void setPlanetGravity() {
         float minRadius = 0.1;
         float maxRadius = 10;
-        float strength = 3.5;
+        float strength = 4.0;
         bzVec2 center = bzVec2(0,0);
         auto attractor = new bzAttractor(rBody, center, strength, minRadius, maxRadius);
         world.addForce(attractor);