Skip to content

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>
' .......
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.