📄 nest.ctxt
字号:
#BlueJ class context
comment0.target=class\ Nest
comment0.text=Class\ for\ defining\ an\ ants'\ nest.\n@author\ Jo\ Wood\n@version\ 1.2,\ 23rd\ August,\ 2001.\n\n
comment1.target=ANT_FOOD_MAX
comment10.target=bounds
comment11.target=ants
comment12.target=INITIAL_FOOD
comment13.params=
comment13.target=void\ evolve()
comment13.text=Let\ the\ nest\ evolve\ for\ one\ time\ unit.\n\n
comment14.params=g
comment14.target=void\ paint(Graphics)
comment14.text=Draws\ the\ nest.\n@param\ g\ Graphics\ context\ in\ which\ to\ draw\ the\ nest.\n\n
comment15.target=HEIGHT
comment16.target=queenProb
comment17.target=gListener
comment18.target=ANT_PROD_LEVEL
comment19.target=QUEEN_FOOD_MAX
comment2.target=antColours
comment20.params=spatialModel
comment20.target=Vector\ objectsAt(SpatialModel)
comment20.text=Reports\ the\ list\ of\ SpatialObjects\ found\ at\ the\ given\ spatial\nmodel\ (within,\ matching,\ overlapping\ or\ containing).\ \n@param\ spatialModel\ Spatial\ model\ within\ which\ to\ search.\n\n
comment21.target=METABOLIC_RATE
comment3.params=gListener
comment3.target=void\ addGraphicsListener(GraphicsListener)
comment3.text=Adds\ a\ graphics\ listener\ to\ this\ object.\ Allows\ graphics\ to\ be\ndrawn\ by\ a\ GraphicsListener.\n@param\ gListener\ Component\ doing\ the\ drawing.\n\n
comment4.params=donorAnt\ foodUnits
comment4.target=void\ addFood(Ant,int)
comment4.text=Adds\ the\ given\ amount\ of\ food\ to\ the\ nest.\n@param\ donorAnt\ Ant\ donating\ the\ food\ to\ the\ nest.\n@param\ foodUnits\ Amount\ of\ food\ to\ add\ to\ nest.\n\n
comment5.params=x\ y
comment5.target=Nest(float,float)
comment5.text=Creates\ a\ nest\ with\ a\ given\ spatial\ footprint.\n@param\ x\ location\ of\ the\ nest.\n@param\ y\ location\ of\ the\ nest.\n\n
comment6.params=queen
comment6.target=Nest(Queen)
comment6.text=Creates\ a\ nest\ full\ of\ ants\ inherited\ from\ a\ given\ queen.\n@param\ queen\ Queen\ ant\ setting\ up\ the\ new\ nest.\n\n
comment7.target=donorAnt
comment8.target=WIDTH
comment9.target=QUEEN_PROD_LEVEL
numComments=22
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -