Untitled
unknown
plain_text
a year ago
1.6 kB
4
Indexable
Never
title Chicken Invader _ wave1 activate Game Game->Game: handleround0 Game->menu: menu() activate Menu activate Game Game -> Player : Player( ) activate Player Player->Player: setpos() activate Player Game -> Chicken : Chicken() activate Chicken Chicken ->Chicken : setPos () activate Chicken Chicken->Chicken : setLevel() activate Chicken Game -> Game : movingShip ( ) activate Game Game -> Bullet : Shooting activate Bullet Game-> Game : handleChicken() activate Game alt Dead == fale && getShape == getArrow Game->Chicken :minusHealth() Game ->Bullet: erase() end Game->Eggs : setpos() activate Eggs Eggs->Player: handleplayer() deactivate Eggs Player->Player: minusheath() activate Player alt Dead && justdead Game->Pickup :setName() activate Pickup Game ->Pickup: setpos() end Chicken->Player: handleplayer() Player->Player: minusheath() activate Player deactivate Chicken deactivate Chicken deactivate Chicken Pickup->Player: handleplayer() deactivate Pickup activate Player Player->Player : setScore() activate Player title Chicken Invader _ wave2 activate Game Game -> Rocks : setpos() activate Rocks activate Player Game->Game: startWave2 activate Game Game->Game: movingship(); activate Bullets activate Game Game -> Bullets : shooting() Game ->Game: handleplayer() activate Game alt getElapsedTime() Game ->Rocks : movingRocks() alt !shielded && !player.Dead && !player.hitbyegg...... Game->Player :minusHealth() end alt getRow() Game->Rocks :minusHealth() deactivate Rocks Game ->Bullets: erase() end end