package com.droidquest.materials; import java.awt.Color; import javax.swing.ImageIcon; import com.droidquest.avatars.GameCursor; import com.droidquest.items.Item; public class PlayerBlocker extends Material { transient ImageIcon images[]; String[] filenames; int animationState=0; public PlayerBlocker(Color col) { color = col; detectable = false; } public PlayerBlocker(String[] files) { detectable = false; filenames = files; GenerateIcons(); } public void GenerateIcons() { if (filenames != null) { int numfiles = filenames.length; images = new ImageIcon[numfiles]; for (int a=0; a