mouse

command
v0.0.0-...-f174bb4 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2016 License: MIT Imports: 5 Imported by: 0

README

Mouse Demo

What does it do?

It demonstrates how one can use mouse events in engo.

What are important aspects of the code?

These lines are key in this demo:

  • common.MouseComponent within the definition of type Guy, which adds a MouseComponent which stores information (such as hover events).
  • w.AddSystem(&common.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