commet
This commit is contained in:
parent
f498618f5a
commit
29f5d4f645
|
@ -16,7 +16,7 @@ class NA:
|
||||||
Action = Move | Idle | NA
|
Action = Move | Idle | NA
|
||||||
|
|
||||||
action_timing = {
|
action_timing = {
|
||||||
Move: 500,
|
Move: 50,
|
||||||
Idle: 100,
|
Idle: 10,
|
||||||
NA: 1
|
NA: 1
|
||||||
}
|
}
|
3
game.py
3
game.py
|
@ -29,6 +29,9 @@ class Game:
|
||||||
self.ticks += 1
|
self.ticks += 1
|
||||||
|
|
||||||
def instance_character(self, x, y, character: Character):
|
def instance_character(self, x, y, character: Character):
|
||||||
|
"""
|
||||||
|
Instances a character in space and time
|
||||||
|
"""
|
||||||
self.floor.entities.add_creature(x, y, character)
|
self.floor.entities.add_creature(x, y, character)
|
||||||
self.reschedule(character)
|
self.reschedule(character)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue