JuanCarlosAragon / jmonkeyengine

Automatically exported from code.google.com/p/jmonkeyengine
0 stars 0 forks source link

Provide an RawInputAdapter class for convenience #297

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Some people may often use RawInputListeners. So its a a common step to create 
an abstract RawInputAdapter class (like well known event adapters from 
java.awt) for every project they do. It would be nice to have such a class in 
core for convenience.

Simple implementation is attached as patch.

Original issue reported on code.google.com by avithan@gmail.com on 18 Feb 2011 at 6:58

Attachments:

GoogleCodeExporter commented 8 years ago
This class skeleton can be created with one button click in jMP and almost any 
IDE. Anonymous inner classes one creates based on the interface are 
automatically filled with the methods in jMP, since the 
AbstractRawInputListener class you propose does not contain any code that 
simplifies its handling (like e.g. AbstractControl) we wont add this class.

Original comment by normen667 on 18 Feb 2011 at 2:31