Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
7.1 Adding collection for enemies
#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