Mercurial > projects > openmelee
comparison ship.d @ 13:e1004697cae1
tracking
author | zzzzrrr <mason.green@gmail.com> |
---|---|
date | Mon, 23 Mar 2009 08:02:23 -0400 |
parents | 2ecd16840900 |
children | af1e8620f027 |
comparison
equal
deleted
inserted
replaced
12:2ecd16840900 | 13:e1004697cae1 |
---|---|
49 bzVec2 side; | 49 bzVec2 side; |
50 bzVec2 forward; | 50 bzVec2 forward; |
51 bzVec2 target; | 51 bzVec2 target; |
52 float speed = 0; | 52 float speed = 0; |
53 float maxForce = 0; | 53 float maxForce = 0; |
54 bool turn; | |
55 | |
56 float enemyAngle; | |
54 | 57 |
55 bzVec2 predictFuturePosition(float dt) { | 58 bzVec2 predictFuturePosition(float dt) { |
56 return (position + velocity * dt); | 59 return (position + velocity * dt); |
57 } | 60 } |
58 } | 61 } |