Results 1 to 3 of 3
  1. #1
    jaicea is offline Member
    Join Date
    Nov 2009
    Rep Power

    Red face Working with Alice and Java

    I am writing a function.
    Java Code:
     object tankList (parameter), object tanklist = nothing (variable)
                        for all tanklist, one object item from tankList at a time
                            if convertableCorvette == item from tankList 
                              tankList set value to world.tankGather
                 returns tankIhit
    my problem is calling the function in my method. I am not even sure if the funciton is right. I try to run the program however it did not do what i want it to. i wanted the the car to hit the tank then the gas tank suppose to move away as if was disappearing. However the car went right through it. Thanks alot if you can help.

  2. #2
    Menre is offline Member
    Join Date
    Feb 2008
    Rep Power



    I once used Alice briefly for programming. But I do not know how this code fits into it as Java.

  3. #3
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Blog Entries
    Rep Power

Similar Threads

  1. I am working on java!
    By pawankumarom in forum New To Java
    Replies: 33
    Last Post: 03-06-2009, 12:24 PM
  2. Java suddenly not working. Red X
    By kd1516 in forum New To Java
    Replies: 3
    Last Post: 10-23-2008, 06:23 AM
  3. Alice to learn java?
    By frasifrasi in forum New To Java
    Replies: 2
    Last Post: 06-03-2008, 05:26 AM
  4. Replies: 8
    Last Post: 05-28-2008, 08:00 AM
  5. working with mp3 in java
    By po0oker in forum Advanced Java
    Replies: 1
    Last Post: 10-30-2007, 09:20 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts