mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-22 20:48:33 +07:00
Libs
This commit is contained in:
parent
2ad14cc884
commit
0c418d1a09
@ -261,11 +261,12 @@ public class Teams{
|
||||
}
|
||||
|
||||
public void updateCount(UnitType type, int amount){
|
||||
if(type == null) return;
|
||||
unitCount = Math.max(amount + unitCount, 0);
|
||||
if(typeCounts == null || typeCounts.length <= type.id){
|
||||
typeCounts = new int[Vars.content.units().size];
|
||||
}
|
||||
typeCounts[type.id] = Math.max(amount + typeCounts [type.id], 0);
|
||||
typeCounts[type.id] = Math.max(amount + typeCounts[type.id], 0);
|
||||
}
|
||||
|
||||
public QuadTree<Unit> tree(){
|
||||
|
@ -1,3 +1,3 @@
|
||||
org.gradle.daemon=true
|
||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||
archash=ddc3e52e7c4f534a22f4f69be22a7c32a9589784
|
||||
archash=d4381c1fed03df6e69a6d99c75c723409c19f904
|
||||
|
@ -37,6 +37,8 @@
|
||||
</forceLinkClasses>
|
||||
<libs>
|
||||
<lib>z</lib>
|
||||
<lib>arc</lib>
|
||||
<lib>arc-freetype</lib>
|
||||
</libs>
|
||||
<frameworks>
|
||||
<framework>UIKit</framework>
|
||||
|
Loading…
Reference in New Issue
Block a user