Skip to content

Move m_level_ends_if_killed to cEnemy #25

@Quintus

Description

@Quintus

The m_level_ends_if_killed member currently only exists for specific enemies, namely the furball boss and the turtle boss. While for normal gameplay this is fine, for scripting it would be much more interesting to have the level end when any given enemy is killed, e.g. a spika or so. This requires the m_level_ends_if_killed member to be moved directly into the cEnemy class and merging the slightly different code currently in use in the cFurball and cTurtleBoss classes into one common place.

Vale,
Quintus

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions