/tutorial/vision/opengl/interactive_world.e

http://github.com/tybor/Liberty · Specman e · 16 lines · 12 code · 4 blank · 0 comment · 0 complexity · e898d219a752ef1e03e92cace78331f3 MD5 · raw file

  1. class INTERACTIVE_WORLD
  2. inherit
  3. WORLD
  4. creation {ANY}
  5. make_interactive
  6. feature {}
  7. make_interactive (p: like parent; end_of_program: PROCEDURE[ANY, TUPLE]) is
  8. do
  9. make(p)
  10. when_left_clicked(end_of_program)
  11. end
  12. end