1 Star 0 Fork 122

lelouch5277/zuul

forked from 吕焱飞/zuul 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Room.ctxt 2.10 KB
一键复制 编辑 原始数据 按行查看 历史
lelouch5277 提交于 2021-06-10 22:44 . chang zuul
#BlueJ class context
comment0.target=Room
comment0.text=\r\n\ Class\ Room\ -\ a\ room\ in\ an\ adventure\ game.\r\n\r\n\ This\ class\ is\ part\ of\ the\ "World\ of\ Zuul"\ application.\ \r\n\ "World\ of\ Zuul"\ is\ a\ very\ simple,\ text\ based\ adventure\ game.\ \ \r\n\r\n\ A\ "Room"\ represents\ one\ location\ in\ the\ scenery\ of\ the\ game.\ \ It\ is\ \r\n\ connected\ to\ other\ rooms\ via\ exits.\ \ The\ exits\ are\ labelled\ north,\ \r\n\ east,\ south,\ west.\ \ For\ each\ direction,\ the\ room\ stores\ a\ reference\r\n\ to\ the\ neighboring\ room,\ or\ null\ if\ there\ is\ no\ exit\ in\ that\ direction.\r\n\ \r\n\ @author\ \ Michael\ K\u00F6lling\ and\ David\ J.\ Barnes\r\n\ @version\ 2016.02.29\r\n
comment1.params=description\ weapon
comment1.target=Room(java.lang.String,\ Weapon)
comment1.text=\r\n\ Create\ a\ room\ described\ "description".\ Initially,\ it\ has\r\n\ no\ exits.\ "description"\ is\ something\ like\ "a\ kitchen"\ or\r\n\ "an\ open\ court\ yard".\r\n\ @param\ description\ The\ room's\ description.\r\n
comment10.params=
comment10.target=Weapon\ lookWeapon()
comment11.params=
comment11.target=Weapon\ getWeapon()
comment12.params=
comment12.target=void\ removeWeapon()
comment2.params=food
comment2.target=void\ putFood(Food)
comment3.params=name
comment3.target=Food\ getFood(java.lang.String)
comment4.params=name
comment4.target=void\ removeFood(java.lang.String)
comment5.params=
comment5.target=void\ checkFood()
comment6.params=direction\ room
comment6.target=void\ setExit(java.lang.String,\ Room)
comment6.text=\r\n\ Define\ the\ exits\ of\ this\ room.\ \ Every\ direction\ either\ leads\r\n\ to\ another\ room\ or\ is\ null\ (no\ exit\ there).\r\n\ @param\ north\ The\ north\ exit.\r\n\ @param\ east\ The\ east\ east.\r\n\ @param\ south\ The\ south\ exit.\r\n\ @param\ west\ The\ west\ exit.\r\n
comment7.params=
comment7.target=void\ printExits()
comment8.params=direction
comment8.target=Room\ goNext(java.lang.String)
comment9.params=
comment9.target=java.lang.String\ getDescription()
comment9.text=\r\n\ @return\ The\ description\ of\ the\ room.\r\n
numComments=13
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/lelouch5277/zuul.git
git@gitee.com:lelouch5277/zuul.git
lelouch5277
zuul
zuul
master

搜索帮助