mirror of
https://github.com/cyberarm/i-mic-rts.git
synced 2025-12-16 00:02:33 +00:00
added on_order handler to entities and components, added visibility map
This commit is contained in:
15
lib/ai/ai_player.rb
Normal file
15
lib/ai/ai_player.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
class IMICRTS
|
||||
class AIPlayer < Player
|
||||
def tick(tick_id)
|
||||
super
|
||||
|
||||
think
|
||||
end
|
||||
|
||||
def think
|
||||
# build base
|
||||
# construct army
|
||||
# attack
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user