Java Reference
In-Depth Information
Figure 13.2
Relationship Between Board/Spaces and BoardNode/SpaceNodes
At startup, a series of URLs (filenames) are statically loaded into a String
sequence called imageFiles . The initialization of imageFiles looks like this:
var imageFiles = [
// 0-9 represents editable spaces, 0 being a blank space
"{__DIR__}images/blank.png",
"{__DIR__}images/1-white.png",
"{__DIR__}images/2-white.png",
...
"{__DIR__}images/9-white.png",
// 10: Should never get here
"{__DIR__}images/blank.png",
// 11-19 represents non-editable (bold) spaces
"{__DIR__}images/1-bold.png",
"{__DIR__}images/2-bold.png",
...
"{__DIR__}images/9-bold.png",
Search WWH ::




Custom Search