public void Draw(Graphics g) { if (pics.Equals(Pictures.normal)) { g.DrawImage(PlayerPlaneNormal, X, Y, PlayerPlaneNormal.Width, PlayerPlaneNormal.Height); } else if (pics.Equals(Pictures.left)) { g.DrawImage(PlayerPlaneLeft, X, Y, PlayerPlaneLeft.Width, PlayerPlaneLeft.Height); } else if (pics.Equals(Pictures.right)) { g.DrawImage(PlayerPlaneRight, X, Y, PlayerPlaneRight.Width, PlayerPlaneRight.Height); } }