org.deken.game.background
Class ParallaxOffset

java.lang.Object
  extended by org.deken.game.background.ParallaxOffset

public class ParallaxOffset
extends java.lang.Object

Title: ParallaxOffset

Description: Enum class for the type of Offset.

Copyright: Copyright (c) Aug 17, 2014

Version:
1.0
Author:
Gary Deken

Field Summary
static int CENTER
           
static int INTEGER
           
static int NONE
           
 
Method Summary
 int getAmount()
           
 int getId()
           
static ParallaxOffset getParallaxOffset(int type)
           
 void setAmount(int amount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final int NONE
See Also:
Constant Field Values

CENTER

public static final int CENTER
See Also:
Constant Field Values

INTEGER

public static final int INTEGER
See Also:
Constant Field Values
Method Detail

getAmount

public int getAmount()

getId

public int getId()

setAmount

public void setAmount(int amount)

getParallaxOffset

public static final ParallaxOffset getParallaxOffset(int type)