神岛 API 文档 - ArenaPro版
    Preparing search index...

    Interface GameHurtOptions

    定义游戏实体受伤选项的接口。

    Defines the options for when a game entity is hurt.

    interface GameHurtOptions {
        attacker: GameEntity;
        damageType: string;
    }
    Index

    Properties

    Properties

    attacker: GameEntity

    伤害来源的实体。

    The entity that is the source of the damage.

    damageType: string

    伤害类型。

    The type of damage.