From a03974210b3e4d52efeef213cccc63377e694362 Mon Sep 17 00:00:00 2001 From: mdb Date: Thu, 18 Oct 2001 20:54:20 +0000 Subject: [PATCH] Added string names for describing the feature codes to humans. git-svn-id: https://samskivert.googlecode.com/svn/trunk@378 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- .../src/java/com/samskivert/atlanti/data/TileCodes.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/projects/atlanti/src/java/com/samskivert/atlanti/data/TileCodes.java b/projects/atlanti/src/java/com/samskivert/atlanti/data/TileCodes.java index f809f1be..a4f403b3 100644 --- a/projects/atlanti/src/java/com/samskivert/atlanti/data/TileCodes.java +++ b/projects/atlanti/src/java/com/samskivert/atlanti/data/TileCodes.java @@ -1,5 +1,5 @@ // -// $Id: TileCodes.java,v 1.7 2001/10/18 19:08:50 mdb Exp $ +// $Id: TileCodes.java,v 1.8 2001/10/18 20:54:20 mdb Exp $ package com.threerings.venison; @@ -96,8 +96,7 @@ public interface TileCodes public static final int WEST = 3; /** A mapping from orientation codes to a string representation. */ - public static final String[] ORIENT_NAMES = - new String[] { "N", "E", "S", "W" }; + public static final String[] ORIENT_NAMES = { "N", "E", "S", "W" }; /** The tile image width in pixels. */ @@ -119,6 +118,9 @@ public interface TileCodes /** A constant indicating a cloister. */ public static final int CLOISTER = 3; + /** Human readable names to go along with the feature constants. */ + public static final String[] FEATURE_NAMES = { + "city", "farm", "road", "cloister" }; /** A flag used to mark a tile as part of a completed city. */ public static final int COMPLETED_CITY = 0x01;