spacetraders_models/public_agent
Types
pub type PublicAgent {
PublicAgent(
symbol: agent_symbol.AgentSymbol,
headquarters: waypoint_symbol.WaypointSymbol,
credits: Int,
starting_faction: faction_symbol.FactionSymbol,
ship_count: Int,
)
}
Constructors
-
PublicAgent( symbol: agent_symbol.AgentSymbol, headquarters: waypoint_symbol.WaypointSymbol, credits: Int, starting_faction: faction_symbol.FactionSymbol, ship_count: Int, )
Values
pub fn decoder() -> decode.Decoder(PublicAgent)