Crate hill_vacuum_lib

Source

Macros§

brush_properties
Inserts the default [Properties] that will be associated to all Brushes.
hardcoded_things
Loads the desided Things as an available resource coded into the executable.
thing_properties
Inserts the default [Properties] that will be associated to all Things.

Structs§

Atlas
The partitioning of a texture into sub-textures.
Brush
A convex polygon characterized by an optional Mover, an optional texture, and certain properties.
BrushProperties
The default properties associated with all [Brush]es.
Exporter
The struct used to read a map file and generate the brushes and things to be used to generate another file format.
HardcodedThings
A resource containing all the Things to be hardcoded into the editor.
HillVacuumPlugin
The main plugin.
List
A list of textures and the amount of time they should be drawn on screen.
Motor
Movement
The data concerning the travel of an entity from one Node to the next one.
Node
A node of the travel [Path] of a moving entity. The position of the Node is relative to the center of the entity.
Path
A path describing how a entity moves in space over time.
TextureSettings
The information relative to which texture should be drawn and how.
Thing
A Thing which can be used to create map placeable items.
ThingInstance
An instance of a Thing placed on the map.
ThingProperties
The default properties associated with all [Thing]s.

Enums§

Animation
The animation of a texture.
Mover
Sprite
Whever the texture should be rendered as a sprite.
Value
A primitive value (+ String).

Traits§

MapThing
A trait to associate a Thing to a type.
TextureInterface
A trait to return information about a texture.
ToValue
A trait to generated a Value from self.