Struct crow_engine::core::Core [] [src]

pub struct Core { /* fields omitted */ }

The main struct of the engine, this struct manages the gameloop and sets up SDL2 # Examples

Methods

impl Core
[src]

Creates a new Core.

Panics

  • If SDL2 is not setup correctly, this method should panic!, Right now, only SDL2 and SDL2_image is required. Go to the SDL2 Crate to see how to setup SDL2.

Examples

use crow_engine::core;

let core = core::Core::new()