StendhalRefactoringCreatures: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>MiguelAngelBlanchLardin |
imported>MiguelAngelBlanchLardin No edit summary |
||
| Line 205: | Line 205: | ||
====boolean onStop()==== |
====boolean onStop()==== |
||
''called when entity stops moving, attacking, etc...'' |
''called when entity stops moving, attacking, etc...'' |
||
== AI == |
|||
Idea about AI is that it should be like a Lego. You use blocks to build a more complex figure. |
|||
So AI should be based on small ''blocks of behaviour'', each of them should be simple to do, and using that we can assign several profiles to the AI based on these behaviours. |
|||