Programming an RTS Game with Direct3D