This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.jimgong.rain.graphics; | |
public class AnimatedSprite extends Sprite { | |
private int animate_step = 0; | |
private int animate_speed = 32; | |
private int frame_length = animate_speed >> 2; | |
private boolean animate = false; | |
//direction = column (N - 0, E - 1, S - 2, W - 3) | |
//animation step = row |