-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added collision detection for the PlayerSprite class as well as a cla…
…ss for MerchantSprites. Also refactored with a hope to differentiate the use of (row, col) and (x, y). Rows and columns will be used to represent the Player and Merchants' locations on the Graph. x and y variables are used to prepresent the PlayerSprite and MerchantSprite's location on the canvas in pixels. The current scale is: x = 30*column and y = 30*row where 30 is the width/height of each sprite.
- Loading branch information
Showing
4 changed files
with
292 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.