package com.zombie.game.ecs.components;

import lombok.Data;

/** Component storing rendering information for an entity / 存储实体渲染信息的组件 */
@Data
public class RenderInfo {
    // Enum defining possible entity types / 定义可能实体类型的枚举
    public enum EntityType {
        PLAYER,
        ZOMBIE
    }

    // The type of this entity / 此实体的类型
    private EntityType type;

    // Constructor setting the entity type / 构造函数，设置实体类型
    public RenderInfo(EntityType type) {
        this.type = type;
    }
}
