Package cc.plural.ecs.runtime

Source Code of cc.plural.ecs.runtime.ApplicationConfiguration

/**
* Copyright (C) 2012 J.W.Marsden <jmarsden@plural.cc>
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package cc.plural.ecs.runtime;

import cc.plural.ecs.renderer.GLVersion;
import cc.plural.utils.Color;

public class ApplicationConfiguration {

  public String title;
 
  public int width;
 
  public int height;
 
  public Color backGroundColor;
       
        public boolean resizable;
       
        public boolean fullScreen;
       
        public GLVersion forceGLVersion;
       
        public int fpsTarget;
 
  public ApplicationConfiguration() {
    title = "cc.plural.ecs!";
    width = 400;
    height = 300;
    backGroundColor = new Color(25,25,25);
                resizable = false;
                fullScreen = false;
                forceGLVersion = null;
                fpsTarget = 60;
  }
}
TOP

Related Classes of cc.plural.ecs.runtime.ApplicationConfiguration

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.