Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aochagavia/rocket_wasm
/ types & classes
Types & classes
16 in github.com/aochagavia/rocket_wasm
⨍
Functions
55
◇
Types & classes
16
Class
Actions
src/controllers/input.rs:3
Interface
Advance
A trait for objects that have can move in a given direction
src/geometry/traits.rs:28
Class
Bullet
Bullets are spawned when the player shoots When an enemy is reached by a bullet, it will explode
src/models/bullet.rs:7
Interface
Collide
A trait that provides collision detection for objects with a position and a radius For collision purposes, all objects are treated as circles
src/geometry/traits.rs:76
Class
CollisionsController
src/controllers/collisions.rs:7
Class
Enemy
Enemies follow the player in order to cause a collision and let him explode
src/models/enemy.rs:6
Class
GameData
src/lib.rs:27
Class
GameState
The data structure that contains the state of the game
src/game_state.rs:8
Class
Particle
A model representing a particle Particles are visible objects that have a time to live and move around in a given direction until their time is up. T
src/models/particle.rs:9
Class
Player
src/models/player.rs:9
Class
Point
src/geometry/point.rs:9
Interface
Position
A trait for objects that occupy a position in space
src/geometry/traits.rs:8
Class
Size
src/geometry/size.rs:7
Class
TimeController
Timers to handle creation of bullets, enemies and particles
src/controllers/time.rs:31
Class
Vector
src/models/vector.rs:9
Class
World
A model that contains the other models and renders them
src/models/world.rs:7