Thread: Making a game from scratch

  1. #16
    Programming Ninja In-T...
    Join Date
    May 2009
    Posts
    827
    Quote Originally Posted by mramazing View Post
    What attributes or benefits should the musician class/job have?
    Let me see...
    A musician class should have functions which any musician will have, such as:

    getInstrument() to get the type of instrument the musician is current playing.
    setInstrument() to set the musician's instrument to a particular instrument, such as a guitar.
    sing() to get the musician to sing lyrics (probably specified in a string parameter), and probably synchronised with the music he's playing (don't know how you would implement this, it would probably take a lot of work).

    Since there are different types of musicians (e.g. guitarists, bass players, drummers, etc.), you should probably make the musician class generic enough to derive specific musician classes off of. Also, since every musician is a person with his/her's own personality, you could probably derive the musician class off a person class which provides functions for the person talking, walking, etc..

  2. #17
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    This thread is over 3 months old. Please do not bump old threads. Closed.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need book to program game into multiplayer...
    By edomingox in forum Game Programming
    Replies: 3
    Last Post: 10-02-2008, 09:26 AM
  2. PC Game project requires c++ programmers
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 02-22-2006, 12:23 AM
  3. Game Engine Link Prob
    By swgh in forum Game Programming
    Replies: 2
    Last Post: 01-26-2006, 12:14 AM
  4. Game Independent Anti-cheat Project Needs Programmers
    By GIA Project Lea in forum Projects and Job Recruitment
    Replies: 3
    Last Post: 09-15-2005, 07:41 PM
  5. Lets Play Money Making Game
    By ggs in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 09-04-2001, 08:36 PM

Tags for this Thread