📄 queen.ctxt
字号:
#BlueJ class context
comment0.target=class\ Queen
comment0.text=Class\ for\ defining\ Queen\ ants.\n@author\ Jo\ Wood\n@version\ 1.4,\ 10th\ October,\ 2001.\n\n
comment1.target=NESTING_LEVEL
comment2.target=QUEEN_WIDTH
comment3.target=FEED_RATE
comment4.target=METABOLIC_RATE
comment5.params=foodLevel\ parent\ x\ y\ nest
comment5.target=Queen(int,Ant,float,float,Nest)
comment5.text=Creates\ a\ queen\ with\ similar\ characteristics\ of\ the\ given\nant.\n@param\ foodLevel\ Initial\ food\ level\ of\ the\ ant.\n@param\ parent\ Ant\ supplying\ inheritable\ characteristics.\n@param\ x\ Initial\ x\ location\ of\ the\ ant.\n@param\ y\ Initial\ y\ location\ of\ the\ ant.\n@param\ nest\ Nest\ in\ which\ this\ ant\ was\ born.\n\n
comment6.params=g
comment6.target=void\ paint(Graphics)
comment6.text=Draws\ the\ ant\ using\ the\ given\ graphics\ context.\n@param\ g\ Graphics\ context\ to\ draw\ to.\n\n
comment7.target=QUEEN_HEIGHT
comment8.params=
comment8.target=void\ evolve()
comment8.text=Let\ the\ ant\ go\ about\ its\ business\ for\ one\ time\ unit.\n\n
comment9.params=
comment9.target=void\ changeAntDirection()
comment9.text=Sets\ a\ new\ direction\ for\ queen\ to\ walk\ in.\n\n
numComments=10
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -