22 lines
407 B
Python
22 lines
407 B
Python
|
|
from game.blocks.block import Block
|
|
from game.gameState import GameState
|
|
|
|
class SpawnPointBlock(Block):
|
|
@property
|
|
def character(self):
|
|
return 'S'
|
|
|
|
@property
|
|
def type(self):
|
|
return 'spawn_point'
|
|
|
|
@property
|
|
def solid(self):
|
|
return False
|
|
|
|
def on_collision(self, gameState: GameState):
|
|
pass
|
|
|
|
def to_string(self):
|
|
return "🚩" |