99100101102103104105106107108
float y = this.position.y += this.vectorDirector.y * this.speed; this.setPosition(x, y); } else{ AttackBase attackCommand = new AttackBase(baseDestination, this); Engine.getInstance().getCommands().add(attackCommand); return; } }