MCPcopy Create free account
hub / github.com/geekcomputers/Python / __init__

Method __init__

diceV2_dynamic.py:6–7  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4# Class that that holds dice-functions. You can set the amount of sides and roll with each dice object.
5class Dice:
6 def __init__(self):
7 self.sideCount = 6
8
9 def setSides(self, sides):
10 if sides > 3:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected