Exploring Transitions

  • Sue Blackman
Chapter

Abstract

In the previous chapter, you got the first part of the state engine working. The ObjectLookup script is now able to change the state of an object and process the actions that are identified with the transitions into its new state. It does so by using the first two pieces of data in the correct element in the correct Lookup State array. While the first two are essentially a lookup table for the picked object, the rest are instructions for handling the optional auxiliary objects that are also a part of the same transition.

Keywords

Prep 

Copyright information

© Sue Blackman 2013

Authors and Affiliations

  • Sue Blackman
    • 1
  1. 1.CAU.S

Personalised recommendations