begin jiang
This commit is contained in:
parent
8c4132e628
commit
042975e561
7 changed files with 134 additions and 16 deletions
|
|
@ -4,6 +4,7 @@ use spacetimedb::{SpacetimeType, table};
|
|||
use super::DbTile;
|
||||
|
||||
// FIXME this shant be public, use views
|
||||
// TODO split up tables so we aren't sending this over the wire every update, or is differencial handled already
|
||||
#[table(name = player, public)]
|
||||
#[derive(Debug)]
|
||||
pub struct Player {
|
||||
|
|
@ -26,6 +27,7 @@ pub struct Player {
|
|||
pub pond: Vec<DbTile>,
|
||||
|
||||
pub drawn_tile: Option<DbTile>,
|
||||
pub actionable: Option<()>,
|
||||
}
|
||||
|
||||
#[table(name = bot)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue