2025-03-29 12:25:22 -04:00
|
|
|
use crate::common::ObjectId;
|
|
|
|
|
|
|
|
#[derive(Clone, Copy, Debug)]
|
|
|
|
pub struct Actor {
|
|
|
|
pub id: ObjectId,
|
|
|
|
pub hp: u32,
|
2025-04-14 16:03:57 -04:00
|
|
|
pub spawn_index: u32, // TODO: local to each connection, terrible place to put this
|
2025-03-29 12:25:22 -04:00
|
|
|
}
|