The EXC_BAD_ACCESS appears when an object is not initialized or an object is already released.
So I think that you are not initialized the object correctly and you are trying to access a property of him.
You have to instantiate the object:
Player *aPlayer = [[Player alloc]init];
then u can access to his property's
Use:
@property(nonatomic, assign) int lampRed;
instead
@property int lampRed;
On the other hand, and this is very important, you have to use the property in .m file:
@synthesize lampRed;
With this you obtain the getters and setters, otherwise not.