mouse

command
v0.0.0-...-17027b4 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2016 License: BSD-2-Clause 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:

  • entity.AddComponent(&engo.MouseComponent{}) which adds a MouseComponent to the Entity of which we want to know mouse stuff;
  • w.AddSystem(&engo.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