hhh
@@ -1,9 +1,8 @@
|
||||
package io.anuke.mindustry.entities;
|
||||
|
||||
import io.anuke.arc.math.Mathf;
|
||||
import io.anuke.arc.math.geom.Vector2;
|
||||
import io.anuke.arc.util.Time;
|
||||
import io.anuke.mindustry.entities.traits.TargetTrait;
|
||||
import io.anuke.arc.math.*;
|
||||
import io.anuke.arc.math.geom.*;
|
||||
import io.anuke.mindustry.entities.traits.*;
|
||||
|
||||
/**
|
||||
* Class for predicting shoot angles based on velocities of targets.
|
||||
@@ -24,8 +23,8 @@ public class Predict{
|
||||
* @return the intercept location
|
||||
*/
|
||||
public static Vector2 intercept(float srcx, float srcy, float dstx, float dsty, float dstvx, float dstvy, float v){
|
||||
dstvx /= Time.delta();
|
||||
dstvy /= Time.delta();
|
||||
//dstvx /= Time.delta();
|
||||
//dstvy /= Time.delta();
|
||||
float tx = dstx - srcx,
|
||||
ty = dsty - srcy;
|
||||
|
||||
|
||||
BIN
ios/data/Default-568h@2x~iphone.png
Normal file
|
After Width: | Height: | Size: 622 KiB |
BIN
ios/data/Default-667h.png
Normal file
|
After Width: | Height: | Size: 783 KiB |
BIN
ios/data/Default-736h.png
Normal file
|
After Width: | Height: | Size: 1.8 MiB |
BIN
ios/data/Default-Landscape-736h.png
Normal file
|
After Width: | Height: | Size: 1.7 MiB |
BIN
ios/data/Default-Landscape@2x~ipad.png
Normal file
|
After Width: | Height: | Size: 1.7 MiB |
BIN
ios/data/Default-Landscape~ipad.png
Normal file
|
After Width: | Height: | Size: 701 KiB |
BIN
ios/data/Default-Portrait@2x~ipad.png
Normal file
|
After Width: | Height: | Size: 1.7 MiB |
BIN
ios/data/Default-Portrait~ipad.png
Normal file
|
After Width: | Height: | Size: 662 KiB |
|
Before Width: | Height: | Size: 5.5 MiB |
|
Before Width: | Height: | Size: 3.0 MiB |
BIN
ios/data/Default@2x~iphone.png
Normal file
|
After Width: | Height: | Size: 576 KiB |
|
Before Width: | Height: | Size: 1.9 MiB |
|
Before Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 4.0 MiB |
|
Before Width: | Height: | Size: 2.6 MiB |
BIN
ios/data/Default~iphone.png
Normal file
|
After Width: | Height: | Size: 215 KiB |