Created
December 6, 2016 12:54
-
-
Save codetravis/7a1e0d41d425ed9b45d46b0dffa389c8 to your computer and use it in GitHub Desktop.
7.1 Adding collection for enemies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#FantomX_UsePhysics = True | |
Import fantomX | |
Import character | |
Class Game Extends App | |
Field engine:ftEngine | |
Field default_layer:ftLayer | |
Field default_scene:ftScene | |
Field player:Character | |
' Add a collection for enemy Characters | |
Field enemies:List<Character> | |
' ....... | |
End |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment