Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Entity::drawEntity(int xIndex, int xPos, int yPos)
- {
- frameIndex = VGCVector(xIndex, 0);
- position = VGCVector(xPos, yPos);
- adjustment = VGCAdjustment(0, 0);
- myPos[0] = xPos;
- myPos[1] = yPos;
- VGCDisplay::renderImage(img, frameIndex, position, adjustment);
- }
- VGCImage Entity::openImage(std::string file, int xFrameCount, int yFrameCount)
- {
- img = VGCDisplay::openImage(file, xFrameCount, yFrameCount);
- }
Add Comment
Please, Sign In to add comment