com.uwsoft.editor.renderer.data.PhysicsPropertiesVO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of overlap2d-runtime-libgdx Show documentation
Show all versions of overlap2d-runtime-libgdx Show documentation
overlap2d-runtime-libgdx provides functionality to load, manipulate and render scenes generated by Overlap2D.
The newest version!
package com.uwsoft.editor.renderer.data;
/**
* Created by sargis on 9/18/14.
*/
public class PhysicsPropertiesVO {
public float gravityX;
public float gravityY;
public float sleepVelocity;
public boolean enabled;
public PhysicsPropertiesVO() {
gravityX = 0;
gravityY = 0;
sleepVelocity = 0;
enabled = false;
}
public PhysicsPropertiesVO(PhysicsPropertiesVO physicsPropertiesVO) {
this.gravityX = physicsPropertiesVO.gravityX;
this.gravityY = physicsPropertiesVO.gravityY;
this.sleepVelocity = physicsPropertiesVO.sleepVelocity;
this.enabled = physicsPropertiesVO.enabled;
}
}