示例#1
0
        public Collisions(Level level)
        {
            this.level = level;

            collectiblesWithHitboxes = Hitboxes.GetCollectiblesWithHitboxes(level);
            groundsWithHitboxes      = Hitboxes.GetGroundsWithHitboxes(level);
        }
示例#2
0
 private Hitbox GetPlayerHitbox(Vector2 playerPosition)
 {
     return(Hitboxes.GetPlayerHitbox(playerPosition));
 }