1. 26 Dec, 2020 4 commits
    • Rahix's avatar
      bottle_angel: Return to heaven when shift is over · 3f22c558
      Rahix authored
      3f22c558
    • Rahix's avatar
      Configure shift-specific entities, resources, and systems · 96901f6e
      Rahix authored
      Add a new method to the AngelShiftImpl trait which angel shifts use to
      configure any shift-specific entities, resources, and ECS systems.
      
      As a first implementation, properly implement this for the bottle angel
      shift and move the `collect_bottledrops` systems here instead of it
      being a generic system.
      96901f6e
    • Rahix's avatar
      Select level from assigned shift · fffb31ae
      Rahix authored
      Doing it this way, each shift can decide which levels are compatible
      with it and this way we don't require that each level supports all
      possible shifts.
      fffb31ae
    • Rahix's avatar
      Add angel_shifts module · dc2ba21f
      Rahix authored
      A new module to contain the "logic" for all angel shifts.  As an
      example/first shift, introduce a "Bottle Angel Shift".
      
      Shifts are abstracted as a trait object which contains the actual shift
      logic and is dynamically selected based on RNG.
      dc2ba21f