Book Image

Creative Greenfoot: RAW

By : Michael Haungs
Book Image

Creative Greenfoot: RAW

By: Michael Haungs

Overview of this book

Table of Contents (17 chapters)
Creative Greenfoot
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Your assignment


When an Avatar object is hit, it is invulnerable to being hit again for a short time. Unfortunately, we have provided no visual feedback to the player that indicates this is happening or when it expires. Your assignment is to make the hero blink while it cannot be hit. Look at the Star class for a hint on how to make an object blink.