Results 1 to 2 of 2
  1. #1
    poupas is offline Member
    Join Date
    Nov 2010
    Rep Power

    Exclamation Need help on my pipes game

    Hey guys (:

    Ive got this problem in my game:
    i dont know how to rotate my pipe... ive tried this:

    public void actionPerformed(ActionEvent e) {
    int aux = pecaColocar.getRotacao();


    the method seRotacao(int a) puts a new rotation to the pipe and the getRotacao() gets the pipe's rotation... the problem is that in the first try, the pipe rotation changes (for example from 0 to 1) but if i want to change again the pipe's rotation, it doesnt rotate anymore, (well it does rotate, but from 0 to 1 again).

    I tried almost everything... if you could help me i would be very appreciated....


  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: Need help on my pipes game

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Names pipes in java
    By Zept in forum Networking
    Replies: 2
    Last Post: 08-06-2011, 08:20 PM
  2. Replies: 1
    Last Post: 06-02-2011, 09:29 AM
  3. Named pipes between Java and C/C++ programs
    By lipkerson in forum Advanced Java
    Replies: 7
    Last Post: 11-07-2010, 11:28 AM
  4. How to use pipes for inter-thread I/O
    By Java Tip in forum java.lang
    Replies: 0
    Last Post: 04-09-2008, 06:37 PM
  5. named pipes
    By samson in forum Networking
    Replies: 1
    Last Post: 04-04-2007, 06:40 AM

Posting Permissions

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