# Classes

> The framework's classes and structs that have pages of their own.

Source: https://omardev29.github.io/rmp-docs/reference/classes/index.html

The framework's classes and structs that have pages of their own.

| Name | What it is |
|---|---|
| [`Resource handles`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-detail-Resource.html) | The RAII half, written once for every handle type. |
| [`rmp::Callback`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-Callback.html) | A function the framework keeps and calls later with arguments of types A...: what `on_click()`, `on_drag()`, `on_collision()` and `Tilemap::on_object()` store, and the type of the `on_` fields of the behaviors. |
| [`rmp::Camera`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-Camera.html) | The camera |
| [`rmp::Condition`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-Condition.html) | A question the framework asks later with arguments of types A...: a StateMachine's transition, an Animator's rule, whether a Draggable may be dropped. |
| [`rmp::Dialogue`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-Dialogue.html) | A conversation: a compiled Yarn script, where it is in it, and what it remembers. |
| [`rmp::DialogueValue`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-DialogueValue.html) | A value of the Yarn language: a number, a string or a bool. |
| [`rmp::Handle`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-Handle.html) | A reference to an object that is safe to keep across frames. |
| [`rmp::MapObject`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-MapObject.html) | One object placed in the map, as `spawn_objects()` hands it to the factory registered for its `type`: where it is, how big, and its properties. |
| [`rmp::Object`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-Object.html) | An entity in a scene: the player, an enemy, a bullet, a coin, a platform. |
| [`rmp::Ref`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-Ref.html) | An optional reference: something that may not be there, and is not yours. |
| [`rmp::Scene`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-Scene.html) | A screen of the game — a main menu, a level, a pause overlay — with its own objects, `map` and `camera`. |
| [`rmp::SheetData`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-SheetData.html) | Everything read out of an .aseprite: the packed texture, the frames and the tags. |
| [`rmp::Sprite`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-Sprite.html) | What an Object draws in place of its shape when it has one: a texture or a sheet, placed by `origin` around the object's position and turned, scaled and flipped with the object. |
| [`rmp::Text`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-Text.html) | A text the framework draws: translated when it was a literal, as it is when it was made at runtime. |
| [`rmp::TextArg`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-TextArg.html) | One placeholder's value: a name and a number or a text. |
| [`rmp::Tilemap`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-Tilemap.html) | A level read from an LDtk or a Tiled file: its tile layers, which cells are solid, and the objects placed in it. |
| [`rmp::Value`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-Value.html) | A tree: nothing, a bool, a number, a string, a list or an object — exactly what JSON holds, so a real structure fits and not only flat pairs. |
| [`rmp::ui::Button`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-ui-Button.html) | A button: text, an icon, or both. |
| [`rmp::ui::Checkbox`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-ui-Checkbox.html) | A checkbox that holds its own value. |
| [`rmp::ui::DialogueBox`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-ui-DialogueBox.html) | The classic box: along the bottom of the screen, the speaker's portrait and name beside the line, the choices as buttons under it. |
| [`rmp::ui::DialogueStage`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-ui-DialogueStage.html) | A visual novel's stage: big portraits of who is on it, the speaker in front and the rest dimmed, and the line in a box under them. |
| [`rmp::ui::Dropdown`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-ui-Dropdown.html) | A dropdown that holds its items and its choice. |
| [`rmp::ui::Image`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-ui-Image.html) | A picture with a style — a frame, a shadow — that can be clicked. |
| [`rmp::ui::Label`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-ui-Label.html) | Text, as `text()` draws it, with a style of its own: a title in another font, with an outline. |
| [`rmp::ui::Panel`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-ui-Panel.html) | A container: a panel with a look of its own (`style`), and a look for everything inside it (`children`), which every descendant inherits — the nearest container's wins. |
| [`rmp::ui::Picture`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-ui-Picture.html) | Anything `rmp::ui` can show. |
| [`rmp::ui::ProgressBar`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-ui-ProgressBar.html) | A progress bar with a look of its own: the style is the track's (its background, its skin), `fill` and `fill_picture` the bar's. |
| [`rmp::ui::Slider`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-ui-Slider.html) | A slider that holds its own value. |
| [`rmp::ui::SoundName`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-ui-SoundName.html) | The name of a sound, as `rmp::audio::play()` takes it ("click" is click.wav, click.ogg...): written as a string, `.click = "click"`. |
| [`rmp::ui::TextInput`](https://omardev29.github.io/rmp-docs/reference/classes/rmp-ui-TextInput.html) | A text field that holds its own text. |
