1. 26 Dec, 2020 2 commits
    • 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
      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