Mercurial > hg > Members > tatsuki > Alice
comparison src/alice/test/topology/movement/KeyInput.java @ 93:6601f8854126 working
can KeyInputCodeSegment
author | sugi |
---|---|
date | Tue, 05 Jun 2012 16:33:28 +0900 |
parents | 33a19ca88e43 |
children | 21e68300e205 |
comparison
equal
deleted
inserted
replaced
92:8e3c1217aad4 | 93:6601f8854126 |
---|---|
18 public KeyInput(){ | 18 public KeyInput(){ |
19 transform = new Transform3D(); | 19 transform = new Transform3D(); |
20 transformGroup= new TransformGroup(); | 20 transformGroup= new TransformGroup(); |
21 transformGroup.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE); | 21 transformGroup.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE); |
22 vector = new Vector3f(0.0f,0.0f,0.0f); | 22 vector = new Vector3f(0.0f,0.0f,0.0f); |
23 | 23 |
24 | |
25 } | 24 } |
26 @Override | 25 @Override |
27 public void keyPressed(KeyEvent event) { | 26 public void keyPressed(KeyEvent event) { |
28 // TODO Auto-generated method stub | 27 // TODO Auto-generated method stub |
29 KeyCode = event.getKeyCode(); | 28 KeyCode = event.getKeyCode(); |