Back to project page pixel-art.
The source code is released under:
Apache License
If you think the Android project pixel-art 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.jaween.pixelart.ui.animation; //w w w .ja v a 2 s . c o m import android.graphics.Bitmap; import com.jaween.pixelart.ui.layer.Layer; import java.util.LinkedList; /** * Created by ween on 12/6/14. */ public class Frame { private LinkedList<Layer> layers; private Bitmap compositeBitmap; private int currentLayerIndex; public Frame(LinkedList<Layer> layers, Bitmap compositeBitmap, int currentLayerIndex) { this.layers = layers; this.compositeBitmap = compositeBitmap; this.currentLayerIndex = currentLayerIndex; } public LinkedList<Layer> getLayers() { return layers; } public void setLayers(LinkedList<Layer> layers) { this.layers = layers; } public int getCurrentLayerIndex() { return currentLayerIndex; } public void setCurrentLayerIndex(int currentLayerIndex) { this.currentLayerIndex = currentLayerIndex; } public Bitmap getCompositeBitmap() { return compositeBitmap; } public void setCompositeBitmap(Bitmap compositeBitmap) { this.compositeBitmap = compositeBitmap; } }