mouse

command
v0.0.0-...-544bd7e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2016 License: BSD-2-Clause Imports: 4 Imported by: 0

README

Mouse Demo

What does it do?

It demonstrates how one can use mouse events in engi.

What are important aspects of the code?

These lines are key in this demo:

  • entity.AddComponent(&engi.MouseComponent{}) which adds a MouseComponent to the Entity of which we want to know mouse stuff;
  • w.AddSystem(&engi.MouseSystem{}) which adds the MouseSystem to this Scene;

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL