Back to project page mobius.
The source code is released under:
MIT License
If you think the Android project mobius 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 com.sgtcodfish.mobiusListing.components; /*from ww w . j a v a 2 s . c om*/ import com.badlogic.gdx.maps.MapProperties; /** * <p> * Holds a platform that can be moved left/right. Positive x -> right. * </p> * * @author Ashley Davis (SgtCoDFish) */ public class DxLayer extends MovingLayer { @Override protected void move(Position p, int degree) { p.position.x += degree * layer.getTileWidth(); } @Override public void fromTiledProperties(MapProperties properties) { tiledPropertiesHelper(properties, "dx", false); } }