1 package org.hedgewars.hedgeroid.netplay; |
1 package org.hedgewars.hedgeroid.netplay; |
|
2 |
|
3 import java.util.Comparator; |
2 |
4 |
3 import org.hedgewars.hedgeroid.R; |
5 import org.hedgewars.hedgeroid.R; |
4 |
6 |
5 import android.content.res.Resources; |
7 import android.content.res.Resources; |
6 |
8 |
7 public class Room { |
9 public class Room { |
8 public static final String MAP_REGULAR = "+rnd+"; |
10 public static final String MAP_REGULAR = "+rnd+"; |
9 public static final String MAP_MAZE = "+maze+"; |
11 public static final String MAP_MAZE = "+maze+"; |
10 public static final String MAP_DRAWN = "+drawn+"; |
12 public static final String MAP_DRAWN = "+drawn+"; |
|
13 public static final Comparator<Room> ID_COMPARATOR = new ByIdComparator(); |
11 |
14 |
12 public final String name, map, scheme, weapons, owner; |
15 public final String name, map, scheme, weapons, owner; |
13 public final int playerCount, teamCount; |
16 public final int playerCount, teamCount; |
14 public final boolean inProgress; |
17 public final boolean inProgress; |
15 public final long id; // for ListView |
18 public final long id; // for ListView |