MCPcopy Create free account
hub / github.com/ddnet/ddnet / __init__

Method __init__

datasrc/content.py:22–27  ·  view source on GitHub ↗
(self, name="", filename="", linear_mapping=0)

Source from the content-addressed store, hash-verified

20
21class Image(Struct):
22 def __init__(self, name="", filename="", linear_mapping=0):
23 Struct.__init__(self, "CDataImage")
24 self.name = String(name)
25 self.filename = String(filename)
26 self.flag = Int(linear_mapping)
27 self.id = TextureHandle()
28
29
30class SpriteSet(Struct):

Callers

nothing calls this directly

Calls 4

StringClass · 0.90
IntClass · 0.90
TextureHandleClass · 0.90
__init__Method · 0.45

Tested by

no test coverage detected