All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.uwsoft.editor.renderer.data.PhysicsPropertiesVO Maven / Gradle / Ivy

Go to download

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy