Guest User

Untitled

a guest
Nov 17th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.48 KB | None | 0 0
  1. void Entity::drawEntity(int xIndex, int xPos, int yPos)
  2. {
  3.         frameIndex = VGCVector(xIndex, 0);
  4.         position   = VGCVector(xPos, yPos);
  5.         adjustment = VGCAdjustment(0, 0);
  6.        
  7.         myPos[0] = xPos;
  8.         myPos[1] = yPos;
  9.  
  10.         VGCDisplay::renderImage(img, frameIndex, position, adjustment);
  11. }
  12.  
  13. VGCImage Entity::openImage(std::string file, int xFrameCount, int yFrameCount)
  14. {
  15.         img = VGCDisplay::openImage(file, xFrameCount, yFrameCount);
  16. }
Add Comment
Please, Sign In to add comment