public void onAdd() {
Material material = new Material(loadTexture(new File("textures/tex.jpg")));
ViewModel model = box(material, 1, 1, 1);
cube = new Entity(model);
cube.pos.z = -4;
cube.addBehavior(new Seizure());
cube.addBehavior(new CmpntRotate());
addKeyListener(this);
}