project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Datastructures/TeamIngameAttributes.java
changeset 7485 0481bd74267c
parent 7476 2fb781bbdd51
child 7508 763d3961400b
equal deleted inserted replaced
7482:d70a5b0d1190 7485:0481bd74267c
     1 package org.hedgewars.hedgeroid.Datastructures;
     1 package org.hedgewars.hedgeroid.Datastructures;
     2 
     2 
     3 import java.util.ArrayList;
     3 import java.util.ArrayList;
     4 import java.util.Random;
     4 import java.util.Random;
     5 
     5 
       
     6 import org.hedgewars.hedgeroid.frontlib.Flib;
       
     7 
     6 public final class TeamIngameAttributes {
     8 public final class TeamIngameAttributes {
     7 	public static final int[] TEAM_COLORS = {
     9 	public static final int DEFAULT_HOG_COUNT = 4;
     8 		0xd12b42, /* red    */ 
    10 	public static final int[] TEAM_COLORS;
     9 		0x4980c1, /* blue   */ 
    11 	
    10 		0x6ab530, /* green  */ 
    12 	static {
    11 		0xbc64c4, /* purple */ 
    13 		int[] teamColors = new int[Flib.INSTANCE.flib_get_teamcolor_count()];
    12 		0xe76d14, /* orange */ 
    14 		for(int i=0; i<teamColors.length; i++) {
    13 		0x3fb6e6, /* cyan   */ 
    15 			teamColors[i] = Flib.INSTANCE.flib_get_teamcolor(i);
    14 		0xe3e90c, /* yellow */ 
    16 		}
    15 		0x61d4ac, /* mint   */ 
    17 		TEAM_COLORS = teamColors;
    16 		0xf1c3e1, /* pink   */ 
    18 	}
    17 		/* add new colors here */
       
    18 	};
       
    19 	
    19 	
    20 	public final String ownerName;
    20 	public final String ownerName;
    21 	public final int colorIndex, hogCount;
    21 	public final int colorIndex, hogCount;
    22 	public final boolean remoteDriven;
    22 	public final boolean remoteDriven;
    23 	
    23