You can check of the position of one character would collide with the other by asking if the character position will be equal. This is because character align to grid, unlike sprites, so there positions can really only be whole numbers. In your case a players X position 17.6 but this would be rendered on screen at position 18. It will be rounded to the nearest interger.