Entity knowledge contents: make map data available directly through GridPointState #16
Labels
No Label
Alpha Release Requirement
Bugfix
Demo Target
Documentation
Major Feature
Minor Feature
Refactoring & Cleanup
Tiny Feature
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: john/McRogueFace#16
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Notes say:
21 feat: Grid strict mode: Entity's GridPointState (discovered, visible) should include a point member: None if not discovered, a unmodified version of the GridPoint object if discovered but not visible, and a up-to-date GridPoint with
.entities
sub-member (entities at that visible GridPoint)at
method returns a GridPointState ("gps
") instance with these values:gps.discovered == False
->gps.point == None
No knowledgegps.discovered == True && gps.visible == False
->gps.point
is a GridPoint instance, but that instance has no.entities
collection. It's also a copy of the GridPoint when it was last seen, not as it currently is.gps.visible == True
->gps.point
is a GridPoint pointing at the Grid's vector, and includes a.entities
collection of the Entities presently at that position (list of items, etc)