Play inaccessible due to protection level

General talk about tutorials and Ice Cube

Moderator: Brume Dev Team

Play inaccessible due to protection level

Postby smag4life on Fri Feb 08, 2008 8:09 pm

I just downloaded Brume and went through the first tutorial. In the main method of my program, I use the line:

using (basics game = new basics())
{
game.Play(); //<---Error
}

It throws a compile time error on the indicated line that says Play() is inaccessible due to its protection level. Did I miss something in the tutorial or is there something else I need to do to make it accessible by my program? Thanks.

-AJ
smag4life
Brume Rookie
 
Posts: 1
Joined: Fri Feb 08, 2008 8:00 pm

Re: Play inaccessible due to protection level

Postby Silmaryls on Sun Feb 10, 2008 9:07 pm

Hi,

Sounds strange...
Have you tried with the source code attached to the tutorial ?
It should work. And you can compare it to your own source to find what is wrong.
User avatar
Silmaryls
Brume Team Member
 
Posts: 340
Joined: Tue Feb 21, 2006 10:09 pm
Location: Paris - France


Return to Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest

cron