Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17075

How to get Tilemap of gamescene to AI class?

$
0
0

@rhythmcoder wrote:

In Gamescene, I can create TileMap Member Variable following this way..
I made 'Game' class. and assigned TileMap member variable by "new"

And I made new AI class. AI class have to get information of the Gamescene's TileMap.

How to get the TileMap member varibale of the 'Game' class to use in EnemyAI class??

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 17075

Trending Articles