I have been looking at this, and it is STILL not making any sense at all. This is so weird. I can not make any progress on this at all. It is just so weird how it is basically just like my bullet class and the bullet moves, but the enemy won't move.
This is what I have in the UpdateEnemy function:
void Enemy::UpdateEnemy(float XVel){ for(int i = 0; i<9; i++) { XVelEnemy=XVel; enemyDest.x-=XVel; }}
Then, I call the function like this in my main game loop:
for(int i = 0; i<10; i++){ enemy.UpdateEnemy(2);}
Alright, I know that I shouldn't keep on asking this, and just figure this out on my own, and I usually do figure this stuff out on my own, but for some unknown reason this will just not work, and I am like...99% sure that everything is exactly like it should be.
Any suggestions?
Chad.
PS: Thanks ahead of time for all who help! All of Gamedev.net will be credited in the credits.