Stendhal Quest Coding - Part 3: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Kymara |
imported>Kymara No edit summary |
||
| Line 99: | Line 99: | ||
== Quest Documentation == |
== Quest Documentation == |
||
We are almost done now. Almost? Yes, a very important thing is still missing. And we should have done it as the first thing. But well, better late than never. |
We are almost done now. Almost? Yes, a very important thing is still missing. And we should have done it as the first thing. But well, better late than never. Here we create the ''javadoc'' which summarises our code in a readable form, for other developers and for our future selves! |
||
<source lang="java"> |
<source lang="java"> |
||
| Line 133: | Line 133: | ||
This documentation is only a little work in most cases because it is just a reformatted version of the [[Stendhal Quest Contribution#Refining_and_Discussing|quest description]]. |
This documentation is only a little work in most cases because it is just a reformatted version of the [[Stendhal Quest Contribution#Refining_and_Discussing|quest description]]. |
||
== Quest Information Methods == |
|||
These are used for the travel logs and other parts of the game which refer to quests - e.g. the achievement for completing all quests in Semos needs the region to be set for quests in Semos city, to be able to find them. |
|||
{{TODO| fill in description, help and examples on methods below and add missing methods by checking abstract quest}} |
|||
=== getRegion === |
|||
=== getNPCName === |
|||
=== getHistory === |
|||
=== getQuestInfo === |
|||
== Further Reading and Complete Code == |
== Further Reading and Complete Code == |
||