You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @return A double representing the number of pixels moved on the X axis per frame. Returns 0.0 if the {@link Bullet} is inaccessible.
117
119
*
118
-
* @see {@link #getVelocityY}, {@link #getAngle}
120
+
* @see #getVelocityY
121
+
* @see #getAngle
119
122
*/
120
123
publicdoublegetVelocityX() {
121
124
returnbulletData.getVelocityX();
@@ -126,7 +129,8 @@ public double getVelocityX() {
126
129
*
127
130
* @return A double representing the number of pixels moved on the Y axis per frame. Returns 0.0 if the {@link Bullet} is inaccessible.
128
131
*
129
-
* @see {@link #getVelocityX}, {@link #getAngle}
132
+
* @see #getVelocityX
133
+
* @see #getAngle
130
134
*/
131
135
publicdoublegetVelocityY() {
132
136
returnbulletData.getVelocityY();
@@ -136,7 +140,8 @@ public double getVelocityY() {
136
140
* Retrieves the Unit interface that the {@link Bullet} is heading to.
137
141
*
138
142
* @return The target Unit object, if one exists. Returns null if the Bullet's target {@link Unit} is inaccessible, the {@link Bullet} is targetting the ground, or if the {@link Bullet} itself is inaccessible.
0 commit comments