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; //w ww .j av a 2 s .co m import com.artemis.Component; import com.badlogic.gdx.math.Vector2; /** * Indicates that an entity has a position in the world. * * @author Ashley Davis (SgtCoDFish) */ public class Position implements Component { public Vector2 position = null; public Position() { reset(); } @Override public void reset() { if (position == null) { position = new Vector2(); } position.x = 0.0f; position.y = 0.0f; } }