home commit
This commit is contained in:
parent
525e28bfc3
commit
9386b1bbbc
@ -251,8 +251,8 @@ public class AssetManager {
|
|||||||
for(int i = 0; i < 10; i ++){
|
for(int i = 0; i < 10; i ++){
|
||||||
|
|
||||||
for(int j = 0; j < 6; j++){
|
for(int j = 0; j < 6; j++){
|
||||||
lightTank l = new lightTank(new vector(i*0.25f+ 1.125f,-0.3f, 17.375f - 0.25f*j), 90, 0);
|
//lightTank l = new lightTank(new vector(i*0.25f+ 1.125f,-0.3f, 17.375f - 0.25f*j), 90, 0);
|
||||||
addLightTank(l);
|
//addLightTank(l);
|
||||||
//l.hasMultiShotUpgrade = true;
|
//l.hasMultiShotUpgrade = true;
|
||||||
//lightTank l = new lightTank(new vector(i*0.25f + 1.125f,-0.3f, 0.5f + 18.625f + j*0.25f), 90, 0);
|
//lightTank l = new lightTank(new vector(i*0.25f + 1.125f,-0.3f, 0.5f + 18.625f + j*0.25f), 90, 0);
|
||||||
|
|
||||||
|
@ -214,7 +214,7 @@ public class combatManagerAI {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//check if defenceManager found a major threat
|
//check if defenceManager found a major threat
|
||||||
if(mainThread.ec.theDefenseManagerAI.majorThreatLocation.screenX != 0) {
|
if(mainThread.ec.theDefenseManagerAI.majorThreatLocation.x != 0) {
|
||||||
currentState = aggressing;
|
currentState = aggressing;
|
||||||
attackDirection.set(mainThread.ec.theDefenseManagerAI.majorThreatLocation.x - combatCenterX, 0, mainThread.ec.theDefenseManagerAI.majorThreatLocation.z - combatCenterZ);
|
attackDirection.set(mainThread.ec.theDefenseManagerAI.majorThreatLocation.x - combatCenterX, 0, mainThread.ec.theDefenseManagerAI.majorThreatLocation.z - combatCenterZ);
|
||||||
attackDirection.unit();
|
attackDirection.unit();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user