townerj's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
New Members
Active Posts:
10 (0.01 per day)
Joined:
20-February 12
Profile Views:
403
Last Active:
User is offline Nov 21 2012 11:57 AM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
Intel
Favorite Gaming Platform:
XBox
Your Car:
Who Cares
Dream Kudos:
0
Icon   townerj has not set their status

Posts I've Made

  1. In Topic: How to use TintColor and if i need any references to use it

    Posted 22 Aug 2012

    I figured it out i had the variable in the sprite class private and therefore couldnt access it from the other class so i changed it to public and it works now. Thanks for the help tho
  2. In Topic: i am getting a reference or directive error when using TintColor

    Posted 22 Aug 2012

    Thank you XNArchitect i found i was declaring it wrong in my sprite class.
  3. In Topic: How to use TintColor and if i need any references to use it

    Posted 22 Aug 2012

    Sorry i wasnt specific enough im fairly new. when i compile the code i get this error: ResolveAssemblyReferences:
    A TargetFramework profile exclusion list will be generated

    The error i get is at line 20 in the code TintColor is highlighted and when i hover over it, i get a pop up saying it does not contain a definition for TintColor and then at the end it says are you missing a using directive or an assembly reference?

    I am following the Kurt Jaegers xna 4.0 Game Development tutorial chapter 4 asteroid belt game.

    i have a sprite class that has a constructor that takes in all those parameters.
  4. In Topic: Deck of cards using various methods

    Posted 2 May 2012

    public class Hand extends Deck{
    
    	private Card[] hand;
    	
    	public Hand()
    	{
    		Deck deck = new Deck();
    		for(int i = 0;i<=7;i++)
    		{
    			hand[i] = deck.drawFromDeck();
    		}
    	}
    	
    	public static void main(String[] args)
    	{
    		Hand d = new Hand();
    		System.out.println(d);
    	}
    }
    
    
    


    i am trying to create a hand class to draw seven cards and store them in an array of Cards
    and am not sure what is wrong i keep getting a null pointer exception. i am using the array List tutorial for
    my deck class.

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Years Programming:
4
Programming Languages:
C#, Java, C++, C, XNA

Contact Information

E-mail:
Private

Friends

townerj hasn't added any friends yet.

Comments

townerj has no profile comments yet. Why not say hello?