Project

General

Profile

Support #395

Refactor obstacles to use functional interface

Added by Administrator Administrator 6 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
06/11/2025
Due date:
% Done:

0%

Estimated time:

Description

Something like map.hasObstcle(x,y) is what I have in mind. So it can look at both the map and tile data and return a consistent answer.
Maybe something like map.obstacles() that returns a list of all obstacles for the map/level?

#1

Updated by Frank Fernandez 5 months ago

  • Status changed from New to Feedback
  • Assignee changed from Frank Fernandez to Jay Gischer

Obstacles are a type of Terrain as currently implemented. Keep as-is or make them separate things? If as-is then this is resolved by another ticket.

#2

Updated by Administrator Administrator 4 months ago

  • Status changed from Feedback to Closed

As-is is fine. Closing this ticket.

Also available in: Atom PDF