package com.zombie.game.ecs.components;

import lombok.Data;

/** Component storing extra movement cost for flow field pathfinding / 存储流场寻路额外移动代价的组件 */
@Data
public class MovementCost {
    /** Extra cost added on top of base (1.0 for straight, 1.414 for diagonal) / 基础代价之外的额外代价 */
    private float cost;

    public MovementCost(float cost) {
        this.cost = cost;
    }
}
