Back to project page TileArena.
The source code is released under:
MIT License
If you think the Android project TileArena listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package game.tile.arena.entity.enemy.ai; // ww w .jav a 2 s. co m import game.tile.arena.entity.enemy.Enemy; import game.tile.arena.util.Position; public abstract class EnemyAI { protected Enemy enemy = null; public void setEnemy(Enemy e) { enemy = e; } public abstract Position getRelativePosition(); public void attack() { } }