MCPcopy Create free account
hub / github.com/csaez/mscreen / addState

Method addState

tests/test_stress.py:101–107  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

99 return p
100
101 def addState(self):
102 index = len(self._states)
103 forces = list()
104 emitters = list()
105 ageLimit = None
106 self._states.append([forces, emitters, ageLimit])
107 return index
108
109 def addForce(self, force, state=0):
110 self._states[state][0].append(force)

Callers 2

__init__Method · 0.95
test_stress.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected