Coding4Fun
10 .NET Programming Projects for Wiimote, World of Warcraft, YouTube and More

Accessibility

Latest post Mon, Feb 23 2009 6:51 PM by Brian Peek. 1 replies.
  • Mon, Feb 23 2009 6:48 PM

    Accessibility

    Has anyone received the following build error while working through Chapter 1?  I've just implemented the AudioManager class. 

    Error 1 Inconsistent accessibility: field type 'AlienAttack.AudioManager' is less accessible than field 'AlienAttack.AlienAttackGame.AudioManager' C:\dkm\dev\c4f\AlienAttack\AlienAttackGame.cs 31 36 AlienAttack

     

    Thanks,

     

    Kip

  • Mon, Feb 23 2009 6:51 PM In reply to

    • Brian Peek
    • Top 10 Contributor
      Male
    • Joined on Wed, Jul 16 2008
    • Niskayuna, NY
    • Posts 53

    Re: Accessibility

    Hi Kip,

    Thanks for picking up a copy of the book.

    As for the question...do you have AudioManager declared as a "public class AudioManager"?

Page 1 of 1 (2 items) | RSS
Powered by Community Server (Non-Commercial Edition), by Telligent Systems