import game
class Playing
-special SDL_EventListener
+ super SDL_EventListener
redef fun on_mouse_button(evt: SDL_MouseButtonEvent)
do
if evt.is_pressed then
end
class MovingSprite
-special Sprite
+ super Sprite
var _rx: Float # Real X axis (sub-pixel)
var _ry: Float # Real Y axix (sub-pixel)
readable var _vx: Float # X velocity (speed)
end
class Player
-special MovingSprite
+ super MovingSprite
fun update_one_step(mx: Int, my: Int)
do
end
class Box
-special Sprite
+ super Sprite
var _images: Array[SDL_Surface]
var _image_number: Int
var _image_delay: Int
end
class Particle
-special MovingSprite
+ super MovingSprite
fun update_one_step: Bool
do
_ttl = _ttl - 1