Crate bfbb

source ·
Expand description

A library for creating tools and mods for SpongeBob SquarePants: Battle for Bikini Bottom (2003).

Feature flags

Some functionality is gated behind feature flags to allow you to pick and choose what functionality you need for your project.

serde: Implements serde’s Serialize/Deserialize for the core data types.

game-interface: Enables the game_interface module.

Modules

  • Allows performing actions on or reading information about a running instance of BfBB.
  • Enums that represent various parts of the game’s current state

Enums

  • Convenient definition for every level in the game.
  • Convenient definition for every spatula in the game

Traits

  • A trait for capturing the number of variants in Enum. This trait can be autoderived by strum_macros.
  • This trait designates that an Enum can be iterated over. It can be auto generated using strum_macros on your behalf.