jkururin
Class RotatingSprite

java.lang.Object
  |
  +--jkururin.Sprite
        |
        +--jkururin.RotatingSprite
Direct Known Subclasses:
InverterSprite, Pad

public class RotatingSprite
extends Sprite

Title: JKururin

Description: A Kuru Kuru Kururin Clone

Copyright: Copyright (c) 2002 foundation.ath.cx

Company: Empyrie

Version:
1.0
Author:
ozitvogel@yahoo.fr

Field Summary
(package private)  double colrinc
           
(package private)  java.awt.Graphics2D gBuffer
           
(package private)  java.awt.image.BufferedImage iBuffer
           
(package private)  double rinc
           
(package private)  double theta
           
 
Fields inherited from class jkururin.Sprite
centerx, centery, collideable, colmincx, colmincy, height, image, images, index, indexinc, level, mincx, mincy, transform, width, x, y
 
Constructor Summary
RotatingSprite()
           
RotatingSprite(java.awt.image.BufferedImage[] images)
           
 
Method Summary
 void cycle()
          shoud be redifined by subclasses, currently increments the animation index and transforms the sprite coords to level ones
 
Methods inherited from class jkururin.Sprite
setImage
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

rinc

double rinc

colrinc

double colrinc

theta

double theta

iBuffer

java.awt.image.BufferedImage iBuffer

gBuffer

java.awt.Graphics2D gBuffer
Constructor Detail

RotatingSprite

public RotatingSprite()

RotatingSprite

public RotatingSprite(java.awt.image.BufferedImage[] images)
Method Detail

cycle

public void cycle()
Description copied from class: Sprite
shoud be redifined by subclasses, currently increments the animation index and transforms the sprite coords to level ones
Overrides:
cycle in class Sprite