Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Miscellany
Friday, October 5th, 2007 at 8:42:56am MDT 

  1. public class Main
  2. {
  3.         //定義兩個SuperPlayers class的物件作為players
  4.         SuperPlayers Justin;
  5.         SuperPlayers HoYin;
  6.         public Main()
  7.         {
  8.                 Justin=new SuperPlayers("Justin");
  9.                 HoYin=new SuperPlayers("HoYin");
  10.         }
  11.         //宣告Justin物件的attack方法直到任何一方死去
  12.         public void Attack()
  13.         {
  14.         do
  15.         {
  16.         Justin.Attack(HoYin);
  17.         }
  18.         while
  19.         ((Justin.isDead | HoYin.isDead) == false);
  20.         }
  21.                
  22.        
  23.        
  24.         public static void main(String argv[])
  25.         {
  26.                 Main main=new Main();
  27.                 //宣告這個類別的attack方法
  28.                 main.Attack()
  29.         }
  30.  
  31.  
  32.  
  33. }

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.