Abstract
All games are made up of different objects and the way that these objects behave. Pac-Man has objects such as Pac-Man himself, the ghosts, pac-dots, power pellets, and walls. Each of these objects has a different behavior. Pac-Man responds to the player's input and can change from being the prey to being the predator by eating a power pellet. This changes the behavior of the ghosts, who are placed into a state where they run away from the player.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Rights and permissions
Copyright information
© 2013 Bruce Sutherland
About this chapter
Cite this chapter
Sutherland, B. (2013). Game Entities. In: Beginning Android C++ Game Development. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-5831-5_6
Download citation
DOI: https://doi.org/10.1007/978-1-4302-5831-5_6
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-5830-8
Online ISBN: 978-1-4302-5831-5
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books