A little help in Smali
(To be supplemented)
A little help in Smali
(To be supplemented)
| import pygame, sys | |
| class Player(pygame.sprite.Sprite): | |
| def __init__(self): | |
| super().__init__() | |
| self.image = pygame.Surface((40,40)) | |
| self.image.fill((200,30,30)) | |
| self.rect = self.image.get_rect(center = (400,400)) | |
| self.current_health = 200 | |
| self.target_health = 500 |