Skip to content

DoBirth(emp::Ptr<>, int) #530

Description

@anyaevostinar

Is your feature request related to a problem? Please describe.
I want to be able to pass emp::Ptr of organisms to DoBirth to use the spatial structure support without losing subclass information.

Describe the solution you'd like
A DoBirth that takes an emp::Ptr and otherwise works identically. It wouldn't be able to support copies perhaps?

Describe alternatives you've considered
Currently I have just defined my own or use AddOrgAt and manage my own world structure.
Or it could be a method that isn't called DoBirth if it doesn't support copies, but it would be really nice if it took a pointer and did all the spatial structure checking.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions