Untitled
unknown
plain_text
a year ago
992 B
3
Indexable
Never
title Chicken Invader _ wave1 activate Game Game->Game: HandleRoundX activate Game Game -> Player : Player( ) activate Player Player->Player: setpos() activate Player Game -> Chicken : Chicken() activate Chicken Chicken ->Chicken : setPos () 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: eras( ) deactivate Bullet end alt Dead && justdead Game->Pickup :setName() activate Pickup Game ->Pickup: setpos() end Game->Eggs : setpos() activate Eggs Eggs->Player: handleplayer() deactivate Eggs activate Player Player->Player: minusheath() Chicken->Player: handleplayer() activate Player Player->Player: minusheath() Pickup->Player: handleplayer() deactivate Pickup activate Player Player->Player : setLifes() & setScore() && setShots()