Skip to content
This repository was archived by the owner on May 9, 2025. It is now read-only.

Modified Collections to Enable Notifications on Change #166

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stevemcilwain
Copy link

I modified BaseCollection.cs and Collection.cs to enable notifications when changes are made to the collection.

  • Changed BaseCollection.cs to inherit from GameEventBase
  • Added an AddRange method to Collection.cs
  • Changed Collection.cs to call Raise() on Add, Remove, Clear, RemoveAt, Insert, AddRange

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant