Multiple class instances

This is a discussion on Multiple class instances within the Game Programming forums, part of the General Programming Boards category; thanks for metioning all of those books, because of other reviews i had read i was temted to buy a ...

  1. #16
    Registered User
    Join Date
    May 2009
    Posts
    106
    thanks for metioning all of those books, because of other reviews i had read i was temted to buy a few

  2. #17
    Registered User
    Join Date
    Jun 2008
    Posts
    114
    Well thats not that much different from asking if
    Code:
    PlayerX = NUMBER;
    PlayerY = NUMBER;
    for(int i = 0;i < NUMBEROTILES;i++)
    {
        ProposedX = Number + 1;
        ProposedY = Number;
        if(TileFunction(i).X == ProposedX && TileFunction().Y == ProposedY)
        {
              if(iswalkable)
              {
                  PlayerX = ProposedX; 
                  PlayerUpdate();
               }
         }
    }
    Who needs a signature?

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. Replies: 3
    Last Post: 10-31-2005, 11:05 AM
  3. Queues, Nodes and passing instances of a class
    By xshapirox in forum C++ Programming
    Replies: 12
    Last Post: 11-13-2004, 12:06 PM
  4. structure vs class
    By sana in forum C++ Programming
    Replies: 13
    Last Post: 12-02-2002, 06:18 AM
  5. Warnings, warnings, warnings?
    By spentdome in forum C Programming
    Replies: 25
    Last Post: 05-27-2002, 06:49 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21