queue.ctxt
来自「一个飞机调度员模拟训练程序,可以添加跑道数量,控制飞机飞行的速度.默认的密码可以」· CTXT 代码 · 共 10 行
CTXT
10 行
#BlueJ class context
comment0.params=where\ direction
comment0.target=Queue(Position,\ float)
comment0.text=\nConstructor\ for\ Queue\ objects\nAircraft\ join\ the\ queue\ at\ a\ specific\ position\ and\ pointing\ in\ a\ particular\ direction,\ and\ turn\ clockwise\ until\ told\ to\ leave\ the\ Queue.\n\n@param\ \ where\ \ the\ starting\ point\ of\ the\ queue,\ that\ is,\ where\ planes\ enter\ the\ queue\n@param\ \ direction\ \ the\ direction\ in\ which\ planes\ are\ travelling\ when\ they\ join\ the\ queue,\ in\ radians\ clockwise\ from\ the\ y-axis\n\n
comment1.target=Position\ getPosition()
comment1.text=\nAccessor\ method\ for\ the\ position\ where\ aircraft\ join\ the\ Queue\n\n@return\ \ \ \ \ the\ position\ where\ aircraft\ join\ the\ Queue\n\n
comment2.target=float\ getAngle()
comment2.text=\nAccessor\ method\ for\ the\ angle\ in\ which\ the\ aircraft\ at\ moving\ when\ they\ join\ the\ queue\n\n@return\ \ \ \ \ angle\ in\ which\ the\ aircraft\ at\ moving\ when\ they\ join\ the\ queue,\ in\ radians\ clockwise\ from\ the\ y-axis\n\n
numComments=3
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?