Generic object to represent players, enemies, items, etc.
"""
def__init__(self,x,y,char,color):
self.x=x
self.y=y
self.char=char
self.color=color
defmove(self,dx,dy):
self.x+=dx
self.y+=dy
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.