Skip to content

High level

Alexandre edited this page Sep 13, 2018 · 2 revisions

The high level API is:

  • Event
  • Sprite
  • Texture
  • Window

With those component you can create every graphic thing that you want.

Window

The window need a name and sizes then they will work out of the box just draw on it. That's all.

Event

event let you handle most of event, mouse or keyboard and you just have to link them with a match to handle it like in the example.

Texture

Texture can be linked for all drawable objects however you should use Rc on them for now.

Sprite

you can create a sprite from a texture and then draw it on a window.

Clone this wiki locally