Download presentation
Presentation is loading. Please wait.
1
Objects in Alice
2
Overview Classes and Objects in Alice objects have parts
3
Kinds of Animations Previously, you viewed two kinds of animations
Movie user just watches the animation on screen "machine-centric" Interactive user clicks on mouse, types a key on keyboard … "user-centric"
4
Events Animations that are interactive depend on the user's actions
mouse click key press others (HeadMountedDevice, etc.) Actions are events Interactive programs are event-driven
5
Objects What is an object ? How is an object identified as unique?
anything that can be identified as unique from other things How is an object identified as unique? has a name has properties: width, height, color, location, age, ss#, id# has a purpose: associated actions it can perform tasks it can carry out
6
Class Objects are categorized into classes Each object is
an instance of the class. All objects in a class have similar properties and generally can perform the same tasks. Person Dogs Peter Mary Paul Spike Scottie Fluffy
7
Objects in a Virtual World
In Alice, each 3-D model is a class of objects each object of the class has a unique name Mummy, Mummy1, Mummy2 has color(s) Pink, White, Grey, Black, Blue, …. has 3 dimensions height, width, depth
8
Object Parts Objects may be composed of Parts
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.