pgoe88

NoNopoly_NumberOfPlayers

Mar 24th, 2013
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. renderEingabeSpielernameOn: html
  2. "Form to set the number of players"
  3. html form:
  4.    [ html div with: [html select list: #(1 2 3 4 5 6); callback: [:anzahl | self anzahlSpieler: anzahl]].
  5.     (html submitButton) callback: [
  6.         "creating the number of players"
  7.         self erzeugeSpielerAus: (self call: (self spielerEingabe anzahlSpieler: self anzahlSpieler))];
  8.         with: 'Bitte Spieler-Namen eingeben'].
Advertisement
Add Comment
Please, Sign In to add comment