Back to project page GhostStories.
The source code is released under:
GNU General Public License
If you think the Android project GhostStories listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package games.ghoststories.enums; /* w w w. jav a 2 s . c om*/ import games.ghoststories.R; /** * Represents the possible locations of the cards within a player board */ public enum ECardLocation { LEFT(R.id.left_space), MIDDLE(R.id.middle_space), RIGHT(R.id.right_space); /** * Constructor * @param pCardLocationId The layout id for the card location */ private ECardLocation(int pCardLocationId) { mCardLocationId = pCardLocationId; } /** * @return The layout id for the card location */ public int getCardLocationId() { return mCardLocationId; } /** The layout id for the card location **/ private final int mCardLocationId; }