ZRuntime.java (609B)
1 // Z Machine V3/V4/V5 Runtime 2 // 3 // Copyright 2002-2003, Brian Swetland <swetland@frotz.net> 4 // Available under a BSD-Style License. Share and Enjoy. 5 // 6 // ZWindow - Danger Hiptop Application 7 // ZScreen - Interface between ZMachine and a front-end 8 // ZDanger - Danger Hiptop ZMachine front-end 9 // ZMachine - 'Z' Virtual Machine 10 // ZRuntime - Application main class 11 // 12 13 package net.frotz.zruntime; 14 15 import danger.app.Application; 16 17 public class ZRuntime extends Application 18 { 19 public ZRuntime() { } 20 21 public void resume() { 22 if(win == null){ 23 win = new ZWindow(this); 24 win.show(); 25 } 26 } 27 28 ZWindow win; 29 }