Update enum/color names to match C# naming convention (#224)
This commit is contained in:
parent
2a1889403d
commit
70d86837d4
123 changed files with 1846 additions and 1850 deletions
|
|
@ -62,7 +62,7 @@ public class SpriteExplosion
|
|||
//----------------------------------------------------------------------------------
|
||||
|
||||
// Check for mouse button pressed and activate explosion (if not active)
|
||||
if (IsMouseButtonPressed(MouseButton.MOUSE_LEFT_BUTTON) && !active)
|
||||
if (IsMouseButtonPressed(MouseButton.Left) && !active)
|
||||
{
|
||||
position = GetMousePosition();
|
||||
active = true;
|
||||
|
|
@ -105,12 +105,12 @@ public class SpriteExplosion
|
|||
// Draw
|
||||
//----------------------------------------------------------------------------------
|
||||
BeginDrawing();
|
||||
ClearBackground(Color.RAYWHITE);
|
||||
ClearBackground(Color.RayWhite);
|
||||
|
||||
// Draw explosion required frame rectangle
|
||||
if (active)
|
||||
{
|
||||
DrawTextureRec(explosion, frameRec, position, Color.WHITE);
|
||||
DrawTextureRec(explosion, frameRec, position, Color.White);
|
||||
}
|
||||
|
||||
EndDrawing();
|
||||
|
|
|
|||
Loading…
Reference in a new issue