added 'how to play'; correct spelling; fixed win mechanics; prepare for settings

This commit is contained in:
Lurkars
2017-04-14 21:45:21 +02:00
parent 3ff112057d
commit 34e53c4835
4 changed files with 63 additions and 35 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ function Interface() {
self.dicesButton.addEventListener("click", function() {
if (self.playing) {
self.fireEvent("addPoints");
self.fireEvent("roleDices");
self.fireEvent("rollDices");
}
});
@@ -134,7 +134,7 @@ Interface.prototype.disableTakePoints = function(disabled) {
this.pointsButton.disabled = disabled;
};
Interface.prototype.disableRoleDices = function(disabled) {
Interface.prototype.disableRollDices = function(disabled) {
this.dicesButton.disabled = disabled;
};