Struct siege::Engine [] [src]

pub struct Engine {
    pub pos: Point<f64>,
    pub parts: Vec<Part>,
}

A instance of a siege engine.

Fields

Methods

impl Engine
[src]

[src]

Place a empty siege engine at the given position with no parts.

[src]

Render the graphics of the siege engine to a buffer.

[src]

Add a beam with the material.

[src]

Add a wheel with the material.

Trait Implementations

impl Debug for Engine
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Engine

impl Sync for Engine