そして、アニメーションを制御するクラスを作ってます。
#region // 青鬼(右向き)表示情報の宣言
public class rightInfo
{
public int Pattern = 0; // 切り抜き画像の左位置(アニメーション位置)
public int Width = 100; // 切り抜き画像の幅
public int Height = 150; // 切り抜き画像の高さ
public int animTimer = 0; // アニメーション時間
public int animCount = 3; // アニメーションのパターン数
}
rightInfo right_pettern = new rightInfo();
#endregion