DynamicGameObject.java :  » Game » beginning-android-games » com » badlogic » androidgames » framework » Android Open Source

Android Open Source » Game » beginning android games 
beginning android games » com » badlogic » androidgames » framework » DynamicGameObject.java
package com.badlogic.androidgames.framework;

import com.badlogic.androidgames.framework.math.Vector2;

public class DynamicGameObject extends GameObject {
    public final Vector2 velocity;
    public final Vector2 accel;
    
    public DynamicGameObject(float x, float y, float width, float height) {
        super(x, y, width, height);
        velocity = new Vector2();
        accel = new Vector2();
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.