Stendhal Testing: Difference between revisions

Content deleted Content added
imported>AntumDeluge
imported>AntumDeluge
Line 74:
 
* <player>deluge|AntumDeluge</player>: When trying to implement random paths for PassiveNPCs I ran across a problem of the NPC stopping after the path cycle was complete. PassiveNPC fixes this by overriding <span style="color:red">onFinishedPath()</span> and calling <span style="color:red">setRandomPathFrom()</span>. <span style="color:red">setRandomPathFrom()</span> has been moved up to <span style="color:blue">GuidedEntity</span>.
* PassiveNPC can now pause for a determined amount of turns on path completion.
 
== Creatures ==