Thread: [REQ]Interface Methods

Results 1 to 3 of 3
  1. #1 [REQ]Interface Methods 
    Registered Member

    Join Date
    Nov 2008
    Age
    29
    Posts
    994
    Thanks given
    1
    Thanks received
    3
    Rep Power
    104
    ok i need the item on interface, and chatbox interface methods :/
    Develop VR games in Unity now
    Reply With Quote  
     

  2. #2  
    Community Veteran

    Dexter Morgan's Avatar
    Join Date
    Nov 2008
    Age
    28
    Posts
    4,419
    Thanks given
    1,184
    Thanks received
    757
    Rep Power
    3098
    There is no different between making an interface in a chatbox, inventory or screen.
    Use frame164 to test chatbox.

    Code:
    	public void displayChatInterface(int interface) {
    		outStream.createFrame(164);
    		outStream.writeWordBigEndian_dup(interface);
    		flushOutStream();
    	}




    And as in for your siggy for Jdiddy,

    Code:
    	public void Jdiddy(String name)
    	{
    		boolean RepWhore = false;
    		if (name.contains("Jdiddy))
    		{
    			RepWhore = true;
    			System.out.println("You are a rep whore congrats!");
    		}
    		else
    		{
    			RepWhore = false;
    			System.out.println("your not Jdiddy.. enjoy ur rep!");
    		}
    	}
    RepWhore is already false so else making it false theres no point. Unless your first going to make the boolean a null and It should be repWhore and grammar in Java programming is nice.

    Code:
    	public void Jdiddy(String name) {
    		boolean RepWhore = false;
    		if(name.contains("Jdiddy)) {
    			RepWhore = true;
    			System.out.println("You are a rep whore congrats!");
    		} else {
    			System.out.println("Your not Jdiddy... Enjoy your rep!");
    		}
    	}
    Doesn't look bad either... Braces should be on the same line as the method or statement that they are needed at, that what I read at java tutorials.
    or

    Code:
    	public void Jdiddy(String name) 
    	{
    		boolean RepWhore = false;
    		if(name.contains("Jdiddy)) {
    			RepWhore = true;
    			System.out.println("You are a rep whore congrats!");
    		} else {
    			System.out.println("Your not Jdiddy... Enjoy your rep!");
    		}
    	}
    Because it looks better.
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Nov 2008
    Age
    29
    Posts
    994
    Thanks given
    1
    Thanks received
    3
    Rep Power
    104
    There is no different between making an interface in a chatbox, inventory or screen.
    Use frame164 to test chatbox.
    i understand that i was looking for the frame lol, shouldve said that in my post maybe... haha
    Develop VR games in Unity now
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

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