This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mmoalt_lib [2015/09/14 15:43] – mmoalt | mmoalt_lib [2015/09/15 11:57] (current) – mmoalt | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ===== ObstacleManager ===== | ===== ObstacleManager ===== | ||
| ObstacleManager.AddObstacle({\\ | ObstacleManager.AddObstacle({\\ | ||
| - | id = nil, -- Required\\ | + | name = nil, -- Required\\ | 
| pos = nil, -- Required\\ | pos = nil, -- Required\\ | ||
| radius = 150,\\ | radius = 150,\\ | ||
| Line 11: | Line 11: | ||
| splitAngle = 45\\ | splitAngle = 45\\ | ||
| })\\ | })\\ | ||
| - | ObstacleManager.GetObstacleById(id)\\ | + | ObstacleManager.GetObstacleByName(name)\\ | 
| - | ObstacleManager.RemoveObstacleById(id)\\ | + | ObstacleManager.RemoveObstacleByName(name)\\ | 
| ObstacleManager.AddTest(args)\\ | ObstacleManager.AddTest(args)\\ | ||
| ObstacleManager.ClearLog()\\ | ObstacleManager.ClearLog()\\ | ||