mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
22 lines
433 B
Python
22 lines
433 B
Python
![]() |
|
||
|
from for_3b1b_videos.pi_creature import *
|
||
|
from active_projects.eop.reusables.constants import *
|
||
|
|
||
|
|
||
|
class SicklyPiCreature(PiCreature):
|
||
|
CONFIG = {
|
||
|
"sick_color": SICKLY_GREEN
|
||
|
}
|
||
|
|
||
|
def get_slightly_sick(self):
|
||
|
|
||
|
self.save_state()
|
||
|
self.set_color(self.sick_color)
|
||
|
|
||
|
def get_sick(self):
|
||
|
|
||
|
self.get_slightly_sick()
|
||
|
self.change_mode("sick")
|
||
|
|
||
|
def get_better(self):
|
||
|
self.restore()
|