if (Death.Location == new Point(Death.Location.X <= 30, Death.Location.Y)) { Death.Location = new Point(Death.Location.X - movement, Death.Location.Y); }
Error 1 The best overloaded method match for 'System.Drawing.Point.Point(int, int)' has some invalid arguments C:\Users\Kyle\documents\visual studio 2010\Projects\Game 1\Game 1\Form2.cs 156 39 Game 1
Error 2 Argument 1: cannot convert from 'bool' to 'int' C:\Users\Kyle\documents\visual studio 2010\Projects\Game 1\Game 1\Form2.cs 156 49 Game 1
if(Death.Location.X <=30) { //your code goes here }
Death.Location.X <= 30
Death.Location
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)