Jump to content
  • Advertisement
  • 06/19/01 11:21 PM
    Sign in to follow this  


    General and Gameplay Programming

    Myopic Rhino
    (C) 2000 - Zachary Booth Simpson. Copied with permission from http://www.mine-control.com/zack. If you find any of this work useful, please sign Zack's guest book: http://www.mine-cont...i/gbook-zbs.cgi.

    [bquote]Store the state of an object which exists in the game world.[/bquote]

    [size="5"]Also called
    [bquote]Database Records, World Items, World Objects, Item Database[/bquote]

    [bquote]Many games consist of a variety of objects which interact. In some cases, there are many kinds of objects, in other cases, only a few. However, in all cases, each object tracks its state as the game progresses. Game rules define the transition of these states, and are often implemented by the Controller pattern.[/bquote]

    [bquote]Many Model implementations are polymorphic. For example, each type of Model is given its own class which extends a BaseModel class. Subclasses often overload basic methods to implement a special trait.

    Care is often given to optimizing Models so that they can be accessed quickly by the View pattern.

    Models may be fixed so as to aggregate more efficiently. See Model Database.

    Models may implement the Model Database implicitly with statics.[/bquote]

    [bquote]Not available at this time.[/bquote]

    [bquote]Some examples of state information that a model might track: hitPoints, name, type, position, orientation, size, status, animationState, meshPointers, isDead, identification.

    Some examples of methods that a model might implement: die(), getHit(), updateAnim(), insertIntoWorldDatabase(), moveTo()[/bquote]

    [size="5"]Related Patterns
    [bquote]Model collections are also called a Model Database.[/bquote]

      Report Article
    Sign in to follow this  

    User Feedback

    Guest VeraTrieday


    Scientific research and technological development has given us a great deal of facilities to spend our lives inside a much pleased way! At present! we can get these factors easily! which had been unthinkable 50 years back. The impacts of scientific development are visible in every component of our lives, as it has changed our lifestyle totally. New and innovative theories and practices are developing and gaining popularity, Among those popularly developing practices, web based shopping phenomena is very significantly prominent.

    Together with the passage of time and increasing home business in our lives! and social and professional activities, we have become a time deficient generation. Due to this time deficit! we must compromise on plenty of items, On-line shopping provides us an opportunity to shop sitting at home and without any hassle inside the market! There's a [url=http://www.buysunglassesnow.com/]Oakley fashion glasses[/url] lot of advantages of web shopping and they have been pretty productive in converting persons loyalty towards them.
    It can be best for those folks! who have not significantly time to go in to the market, but they've the desire and need of some specific product, With all the help of web based shopping web sites! they can

    Share this comment

    Link to comment
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!