Skip to main content
added 51 characters in body
Source Link
DormoTheNord
  • 429
  • 1
  • 4
  • 14

To access non-static members of a class, you need an instance of said class.

I'm not familiar with Boo (and it's been a long time since I've used Python), but try this:

Player = PlayerAttributes()
Player.SetInitialStats('Robo', 20, 21, 19, 20, 18, 22, 22, 57000)

To access non-static members of a class, you need an instance of said class.

I'm not familiar with Boo, but try this:

Player = PlayerAttributes()
Player.SetInitialStats('Robo', 20, 21, 19, 20, 18, 22, 22, 57000)

To access non-static members of a class, you need an instance of said class.

I'm not familiar with Boo (and it's been a long time since I've used Python), but try this:

Player = PlayerAttributes()
Player.SetInitialStats('Robo', 20, 21, 19, 20, 18, 22, 22, 57000)
Post Undeleted by DormoTheNord
Post Deleted by DormoTheNord
Source Link
DormoTheNord
  • 429
  • 1
  • 4
  • 14

To access non-static members of a class, you need an instance of said class.

I'm not familiar with Boo, but try this:

Player = PlayerAttributes()
Player.SetInitialStats('Robo', 20, 21, 19, 20, 18, 22, 22, 57000)