This repository has been archived by the owner on Apr 17, 2024. It is now read-only.
Releases: shysolocup/pangine
Releases · shysolocup/pangine
1.1.2
1.1.1
Updated stews badge
1.1.0
Updated class builder to allow for more modding with the new PangineClass.Class()
var { game } = wc.pangine.Instances;
new game.Lobby.Class("Leaderboard", class {
constructor(func) {
let lobby = this.parent;
if (!func) func = function(a, b) {
return b.score - a.score;
}
return lobby.players.sort(func);
}
});
let lobby = new game.Lobby(ctx, {
starterPlayerValues: {
score: 0
}
});
console.log(new lobby.Leaderboard()); // returns a greatest to least leaderboard of all the players
1.0.9
Fixed a bug with timeouts
1.0.8
updated WillClient and Stews versions on README file
1.0.7
- added timeout stuff
- added reason parameter to lobby.close and inst.close
1.0.6
Fixed docs and readme inst issue
1.0.5
added players to lobby settings
let lobby = new inst.Lobby(ctx, {
players: [
user1,
userb
]
});
1.0.4
Added Inst.homeIds and Inst.findHome()
1.0.3
Fixed close, lock, and unlock lobby events