1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//! # danmaku/target.rs
//!
//! ## Module Overview
//!
//! Defines the `BulletTarget` component for unified bullet targeting.
//! Any entity with this component can be tracked by bullets.
//!
//! ## 模块概述
//!
//! 定义 `BulletTarget` 组件,用于统一的弹幕追踪目标。
//! 任何带有此组件的实体都可以被弹幕追踪。
use *;
/// Marker component for entities that can be targeted by bullets.
/// Add this to any entity (BattlePlayer, OverworldPlayer, etc.) that
/// should be tracked by aimed/homing behaviors.
///
/// 可被弹幕追踪的实体标记组件。
/// 将此组件添加到任何需要被自机狙/追踪行为追踪的实体
/// (战斗玩家、Overworld玩家等)。