翻訳と辞書
Words near each other
・ Griff
・ Griff & Lock
・ Griff (TV series)
・ GridRepublic
・ GridRPC
・ Gridrunner
・ Gridrunner Revolution
・ Gridrunner++
・ Gridshell
・ GridSpice
・ GridStream Productions
・ GrIDsure
・ GridWars
・ Gridwars
・ GridWay
GridWorld
・ Griebel
・ Griebelschied
・ Grieben
・ Grieben, Mecklenburg-Vorpommern
・ Griebens Reise-Bibliothek
・ Griebnitz Canal
・ Griebnitzsee
・ Griebo
・ Griechischer Geist aus Basler Pressen
・ Grieco
・ Grieco elimination
・ Grieco three-component condensation
・ Griedge Mbock Bathy
・ Grief


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

GridWorld : ウィキペディア英語版
GridWorld

GridWorld is a computer program case study written in Java that was used with the AP Computer Science program from 2008 to 2014.〔Horstmann, Cay. ("GridWorld". ) ''horstmann.com''. Accessed September 15, 2008.〕 It serves as an example of object-oriented programming (OOP). GridWorld succeeded the Marine Biology Simulation Case Study, which was used from 2000–2007. However, GridWorld has now been discontinued as of the 2014–2015 school year, in favor of three optional labs.
The GridWorld framework was designed and implemented by (Cay Horstmann ), based on the Marine Biology Simulation Case Study. The narrative was produced by Chris Nevison and Barbara Cloud Wells, Colgate University.
== Actors ==
The GridWorld Case Study employs an Actor class to construct objects in the grid. The Actor class manages the object's color, direction, location, what the object does in the simulation, and how the object interacts with other objects.
Actors are broken down into the classes "Flower", "Rock", "Bug", and "Critter", which inherit the Actor class and often override certain methods (most notably the Act method). Flowers can't move, and when forced to Act, they become darker. Flowers are dropped by Bugs and eaten by Critters. Rocks are also immobile and aren't dropped or eaten. Bugs move directly ahead of themselves, unless blocked by a rock or another bug, in which case the Bug will make a 45 degree turn and try again. They drop flowers in every space they occupy, eat flowers that are directly on their space of grid, and are consumed by Critters. Critters move in a random direction to a space that isn't occupied by a Rock or other Critter and consume Flowers and Bugs.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「GridWorld」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.