package com.zombie.game.ecs.components;

import lombok.Data;

/** Component storing collision size for entity hitboxes / 存储实体碰撞体大小的组件 */
@Data
public class Collision {
    // Collision radius/size for hitbox detection / 用于碰撞检测的碰撞体半径/大小
    private float size;

    // Constructor setting the collision size / 构造函数，设置碰撞体大小
    public Collision(float size) {
        this.size = size;
    }
}
