please dont rip this site

Language Java Nosugar Custom Paddle Code Testgamepaddle.java

// 
//	TestGamePaddle class
//	part of the set of documents known as Java no sugar.
//	Copyright (c) 1996 Sunil Gupta, sunil@magnetic.demon.co.uk
//	placed into the public domain by the author
//
import java.applet.*;
import java.awt.*;
import GamePaddle;

public class TestGamePaddle extends Applet
{
	GamePaddle button;
	int count = 0;
	
	public void init()
	{
		button = new GamePaddle();
		this.add(button);
	}
	
	public boolean action( Event e, Object arg)
	{
		int i;
		
		if (e.target == button)
		{
			GamePaddle obj = (GamePaddle) arg;
			
			showStatus("clicked " + count + ", direction = " + obj.direction() );
			count ++;
			return true;
		}
		
		return false;
	}
}

file: /Techref/language/java/nosugar/custom/paddle/code/TestGamePaddle.java, 0KB, , updated: 1996/10/31 01:24, local time: 2024/4/28 16:46,
TOP NEW HELP FIND: 
3.144.189.177:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.piclist.com/techref/language/java/nosugar/custom/paddle/code/TestGamePaddle.java"> language java nosugar custom paddle code TestGamePaddle</A>

Did you find what you needed?

  PICList 2024 contributors:
o List host: MIT, Site host massmind.org, Top posters @none found
- Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
 

Welcome to www.piclist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .