whitesaint
cocoa love
hi my name is Roger, and i have a problem with the events and everything. i properly defined all the terms that needed to be defined and it compiles with no warnings or errors, am i doing somthing wrong here?
<br>
-(void)update
{
if(leftKeyPressed)
{
[ashleyImage compositeToPoint:NSZeroPoint operation:NSCompositeSourceOver];
}
else if(rightKeyPressed)
{
[rogerImage compositeToPoint:NSZeroPoint operation:NSCompositeSourceOver];
}
}
<br>
-(void)update
{
if(leftKeyPressed)
{
[ashleyImage compositeToPoint:NSZeroPoint operation:NSCompositeSourceOver];
}
else if(rightKeyPressed)
{
[rogerImage compositeToPoint:NSZeroPoint operation:NSCompositeSourceOver];
}
}