Back to project page Layrd.
The source code is released under:
MIT License
If you think the Android project Layrd listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* This class load from a file and hold all the setting of the game system * // www .j ava 2s .co m * * Game Setting: * This provide field where user can change the setting at any given time * * * Game Constant: * This provide the flexibility change based on size of the screen (hopefully) * */ package com.Voltronics.game; public class LayrdLogic { public static float SCREEN_WIDTH; public static float SCREEN_HEIGHT; public static float PLAYER_WIDTH; public static float PLAYER_HEIGHT; public static int LOSE_COUNT_WARNING = 5; public static float PLAY_TIME_WARNING = 10000; public static float FRAME_RATE = 60; public static float SEC_PER_FRAME = 1.0f/FRAME_RATE; }