mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 01:24:17 +00:00
pybricks.ev3dev.media: Type file classes.
This commit is contained in:
+145
-145
@@ -404,153 +404,153 @@ Font.DEFAULT = Font("Lucida", 12)
|
||||
class SoundFile:
|
||||
"""Paths to standard EV3 sounds."""
|
||||
|
||||
_BASE_PATH = "/usr/share/sounds/ev3dev/"
|
||||
SHOUTING = _BASE_PATH + "expressions/shouting.wav"
|
||||
CHEERING = _BASE_PATH + "expressions/cheering.wav"
|
||||
CRYING = _BASE_PATH + "expressions/crying.wav"
|
||||
OUCH = _BASE_PATH + "expressions/ouch.wav"
|
||||
LAUGHING_2 = _BASE_PATH + "expressions/laughing_2.wav"
|
||||
SNEEZING = _BASE_PATH + "expressions/sneezing.wav"
|
||||
SMACK = _BASE_PATH + "expressions/smack.wav"
|
||||
BOING = _BASE_PATH + "expressions/boing.wav"
|
||||
BOO = _BASE_PATH + "expressions/boo.wav"
|
||||
UH_OH = _BASE_PATH + "expressions/uh-oh.wav"
|
||||
SNORING = _BASE_PATH + "expressions/snoring.wav"
|
||||
KUNG_FU = _BASE_PATH + "expressions/kung_fu.wav"
|
||||
FANFARE = _BASE_PATH + "expressions/fanfare.wav"
|
||||
CRUNCHING = _BASE_PATH + "expressions/crunching.wav"
|
||||
MAGIC_WAND = _BASE_PATH + "expressions/magic_wand.wav"
|
||||
LAUGHING_1 = _BASE_PATH + "expressions/laughing_1.wav"
|
||||
LEFT = _BASE_PATH + "information/left.wav"
|
||||
BACKWARDS = _BASE_PATH + "information/backwards.wav"
|
||||
RIGHT = _BASE_PATH + "information/right.wav"
|
||||
OBJECT = _BASE_PATH + "information/object.wav"
|
||||
COLOR = _BASE_PATH + "information/color.wav"
|
||||
FLASHING = _BASE_PATH + "information/flashing.wav"
|
||||
ERROR = _BASE_PATH + "information/error.wav"
|
||||
ERROR_ALARM = _BASE_PATH + "information/error_alarm.wav"
|
||||
DOWN = _BASE_PATH + "information/down.wav"
|
||||
FORWARD = _BASE_PATH + "information/forward.wav"
|
||||
ACTIVATE = _BASE_PATH + "information/activate.wav"
|
||||
SEARCHING = _BASE_PATH + "information/searching.wav"
|
||||
TOUCH = _BASE_PATH + "information/touch.wav"
|
||||
UP = _BASE_PATH + "information/up.wav"
|
||||
ANALYZE = _BASE_PATH + "information/analyze.wav"
|
||||
STOP = _BASE_PATH + "information/stop.wav"
|
||||
DETECTED = _BASE_PATH + "information/detected.wav"
|
||||
TURN = _BASE_PATH + "information/turn.wav"
|
||||
START = _BASE_PATH + "information/start.wav"
|
||||
MORNING = _BASE_PATH + "communication/morning.wav"
|
||||
EV3 = _BASE_PATH + "communication/ev3.wav"
|
||||
GO = _BASE_PATH + "communication/go.wav"
|
||||
GOOD_JOB = _BASE_PATH + "communication/good_job.wav"
|
||||
OKEY_DOKEY = _BASE_PATH + "communication/okey-dokey.wav"
|
||||
GOOD = _BASE_PATH + "communication/good.wav"
|
||||
NO = _BASE_PATH + "communication/no.wav"
|
||||
THANK_YOU = _BASE_PATH + "communication/thank_you.wav"
|
||||
YES = _BASE_PATH + "communication/yes.wav"
|
||||
GAME_OVER = _BASE_PATH + "communication/game_over.wav"
|
||||
OKAY = _BASE_PATH + "communication/okay.wav"
|
||||
SORRY = _BASE_PATH + "communication/sorry.wav"
|
||||
BRAVO = _BASE_PATH + "communication/bravo.wav"
|
||||
GOODBYE = _BASE_PATH + "communication/goodbye.wav"
|
||||
HI = _BASE_PATH + "communication/hi.wav"
|
||||
HELLO = _BASE_PATH + "communication/hello.wav"
|
||||
MINDSTORMS = _BASE_PATH + "communication/mindstorms.wav"
|
||||
LEGO = _BASE_PATH + "communication/lego.wav"
|
||||
FANTASTIC = _BASE_PATH + "communication/fantastic.wav"
|
||||
SPEED_IDLE = _BASE_PATH + "movements/speed_idle.wav"
|
||||
SPEED_DOWN = _BASE_PATH + "movements/speed_down.wav"
|
||||
SPEED_UP = _BASE_PATH + "movements/speed_up.wav"
|
||||
BROWN = _BASE_PATH + "colors/brown.wav"
|
||||
GREEN = _BASE_PATH + "colors/green.wav"
|
||||
BLACK = _BASE_PATH + "colors/black.wav"
|
||||
WHITE = _BASE_PATH + "colors/white.wav"
|
||||
RED = _BASE_PATH + "colors/red.wav"
|
||||
BLUE = _BASE_PATH + "colors/blue.wav"
|
||||
YELLOW = _BASE_PATH + "colors/yellow.wav"
|
||||
TICK_TACK = _BASE_PATH + "mechanical/tick_tack.wav"
|
||||
HORN_1 = _BASE_PATH + "mechanical/horn_1.wav"
|
||||
BACKING_ALERT = _BASE_PATH + "mechanical/backing_alert.wav"
|
||||
MOTOR_IDLE = _BASE_PATH + "mechanical/motor_idle.wav"
|
||||
AIR_RELEASE = _BASE_PATH + "mechanical/air_release.wav"
|
||||
AIRBRAKE = _BASE_PATH + "mechanical/airbrake.wav"
|
||||
RATCHET = _BASE_PATH + "mechanical/ratchet.wav"
|
||||
MOTOR_STOP = _BASE_PATH + "mechanical/motor_stop.wav"
|
||||
HORN_2 = _BASE_PATH + "mechanical/horn_2.wav"
|
||||
LASER = _BASE_PATH + "mechanical/laser.wav"
|
||||
SONAR = _BASE_PATH + "mechanical/sonar.wav"
|
||||
MOTOR_START = _BASE_PATH + "mechanical/motor_start.wav"
|
||||
INSECT_BUZZ_2 = _BASE_PATH + "animals/insect_buzz_2.wav"
|
||||
ELEPHANT_CALL = _BASE_PATH + "animals/elephant_call.wav"
|
||||
SNAKE_HISS = _BASE_PATH + "animals/snake_hiss.wav"
|
||||
DOG_BARK_2 = _BASE_PATH + "animals/dog_bark_2.wav"
|
||||
DOG_WHINE = _BASE_PATH + "animals/dog_whine.wav"
|
||||
INSECT_BUZZ_1 = _BASE_PATH + "animals/insect_buzz_1.wav"
|
||||
DOG_SNIFF = _BASE_PATH + "animals/dog_sniff.wav"
|
||||
T_REX_ROAR = _BASE_PATH + "animals/t-rex_roar.wav"
|
||||
INSECT_CHIRP = _BASE_PATH + "animals/insect_chirp.wav"
|
||||
DOG_GROWL = _BASE_PATH + "animals/dog_growl.wav"
|
||||
SNAKE_RATTLE = _BASE_PATH + "animals/snake_rattle.wav"
|
||||
DOG_BARK_1 = _BASE_PATH + "animals/dog_bark_1.wav"
|
||||
CAT_PURR = _BASE_PATH + "animals/cat_purr.wav"
|
||||
EIGHT = _BASE_PATH + "numbers/eight.wav"
|
||||
SEVEN = _BASE_PATH + "numbers/seven.wav"
|
||||
SIX = _BASE_PATH + "numbers/six.wav"
|
||||
FOUR = _BASE_PATH + "numbers/four.wav"
|
||||
TEN = _BASE_PATH + "numbers/ten.wav"
|
||||
ONE = _BASE_PATH + "numbers/one.wav"
|
||||
TWO = _BASE_PATH + "numbers/two.wav"
|
||||
THREE = _BASE_PATH + "numbers/three.wav"
|
||||
ZERO = _BASE_PATH + "numbers/zero.wav"
|
||||
FIVE = _BASE_PATH + "numbers/five.wav"
|
||||
NINE = _BASE_PATH + "numbers/nine.wav"
|
||||
READY = _BASE_PATH + "system/ready.wav"
|
||||
CONFIRM = _BASE_PATH + "system/confirm.wav"
|
||||
GENERAL_ALERT = _BASE_PATH + "system/general_alert.wav"
|
||||
CLICK = _BASE_PATH + "system/click.wav"
|
||||
OVERPOWER = _BASE_PATH + "system/overpower.wav"
|
||||
_BASE_PATH: str = "/usr/share/sounds/ev3dev/"
|
||||
SHOUTING: str = _BASE_PATH + "expressions/shouting.wav"
|
||||
CHEERING: str = _BASE_PATH + "expressions/cheering.wav"
|
||||
CRYING: str = _BASE_PATH + "expressions/crying.wav"
|
||||
OUCH: str = _BASE_PATH + "expressions/ouch.wav"
|
||||
LAUGHING_2: str = _BASE_PATH + "expressions/laughing_2.wav"
|
||||
SNEEZING: str = _BASE_PATH + "expressions/sneezing.wav"
|
||||
SMACK: str = _BASE_PATH + "expressions/smack.wav"
|
||||
BOING: str = _BASE_PATH + "expressions/boing.wav"
|
||||
BOO: str = _BASE_PATH + "expressions/boo.wav"
|
||||
UH_OH: str = _BASE_PATH + "expressions/uh-oh.wav"
|
||||
SNORING: str = _BASE_PATH + "expressions/snoring.wav"
|
||||
KUNG_FU: str = _BASE_PATH + "expressions/kung_fu.wav"
|
||||
FANFARE: str = _BASE_PATH + "expressions/fanfare.wav"
|
||||
CRUNCHING: str = _BASE_PATH + "expressions/crunching.wav"
|
||||
MAGIC_WAND: str = _BASE_PATH + "expressions/magic_wand.wav"
|
||||
LAUGHING_1: str = _BASE_PATH + "expressions/laughing_1.wav"
|
||||
LEFT: str = _BASE_PATH + "information/left.wav"
|
||||
BACKWARDS: str = _BASE_PATH + "information/backwards.wav"
|
||||
RIGHT: str = _BASE_PATH + "information/right.wav"
|
||||
OBJECT: str = _BASE_PATH + "information/object.wav"
|
||||
COLOR: str = _BASE_PATH + "information/color.wav"
|
||||
FLASHING: str = _BASE_PATH + "information/flashing.wav"
|
||||
ERROR: str = _BASE_PATH + "information/error.wav"
|
||||
ERROR_ALARM: str = _BASE_PATH + "information/error_alarm.wav"
|
||||
DOWN: str = _BASE_PATH + "information/down.wav"
|
||||
FORWARD: str = _BASE_PATH + "information/forward.wav"
|
||||
ACTIVATE: str = _BASE_PATH + "information/activate.wav"
|
||||
SEARCHING: str = _BASE_PATH + "information/searching.wav"
|
||||
TOUCH: str = _BASE_PATH + "information/touch.wav"
|
||||
UP: str = _BASE_PATH + "information/up.wav"
|
||||
ANALYZE: str = _BASE_PATH + "information/analyze.wav"
|
||||
STOP: str = _BASE_PATH + "information/stop.wav"
|
||||
DETECTED: str = _BASE_PATH + "information/detected.wav"
|
||||
TURN: str = _BASE_PATH + "information/turn.wav"
|
||||
START: str = _BASE_PATH + "information/start.wav"
|
||||
MORNING: str = _BASE_PATH + "communication/morning.wav"
|
||||
EV3: str = _BASE_PATH + "communication/ev3.wav"
|
||||
GO: str = _BASE_PATH + "communication/go.wav"
|
||||
GOOD_JOB: str = _BASE_PATH + "communication/good_job.wav"
|
||||
OKEY_DOKEY: str = _BASE_PATH + "communication/okey-dokey.wav"
|
||||
GOOD: str = _BASE_PATH + "communication/good.wav"
|
||||
NO: str = _BASE_PATH + "communication/no.wav"
|
||||
THANK_YOU: str = _BASE_PATH + "communication/thank_you.wav"
|
||||
YES: str = _BASE_PATH + "communication/yes.wav"
|
||||
GAME_OVER: str = _BASE_PATH + "communication/game_over.wav"
|
||||
OKAY: str = _BASE_PATH + "communication/okay.wav"
|
||||
SORRY: str = _BASE_PATH + "communication/sorry.wav"
|
||||
BRAVO: str = _BASE_PATH + "communication/bravo.wav"
|
||||
GOODBYE: str = _BASE_PATH + "communication/goodbye.wav"
|
||||
HI: str = _BASE_PATH + "communication/hi.wav"
|
||||
HELLO: str = _BASE_PATH + "communication/hello.wav"
|
||||
MINDSTORMS: str = _BASE_PATH + "communication/mindstorms.wav"
|
||||
LEGO: str = _BASE_PATH + "communication/lego.wav"
|
||||
FANTASTIC: str = _BASE_PATH + "communication/fantastic.wav"
|
||||
SPEED_IDLE: str = _BASE_PATH + "movements/speed_idle.wav"
|
||||
SPEED_DOWN: str = _BASE_PATH + "movements/speed_down.wav"
|
||||
SPEED_UP: str = _BASE_PATH + "movements/speed_up.wav"
|
||||
BROWN: str = _BASE_PATH + "colors/brown.wav"
|
||||
GREEN: str = _BASE_PATH + "colors/green.wav"
|
||||
BLACK: str = _BASE_PATH + "colors/black.wav"
|
||||
WHITE: str = _BASE_PATH + "colors/white.wav"
|
||||
RED: str = _BASE_PATH + "colors/red.wav"
|
||||
BLUE: str = _BASE_PATH + "colors/blue.wav"
|
||||
YELLOW: str = _BASE_PATH + "colors/yellow.wav"
|
||||
TICK_TACK: str = _BASE_PATH + "mechanical/tick_tack.wav"
|
||||
HORN_1: str = _BASE_PATH + "mechanical/horn_1.wav"
|
||||
BACKING_ALERT: str = _BASE_PATH + "mechanical/backing_alert.wav"
|
||||
MOTOR_IDLE: str = _BASE_PATH + "mechanical/motor_idle.wav"
|
||||
AIR_RELEASE: str = _BASE_PATH + "mechanical/air_release.wav"
|
||||
AIRBRAKE: str = _BASE_PATH + "mechanical/airbrake.wav"
|
||||
RATCHET: str = _BASE_PATH + "mechanical/ratchet.wav"
|
||||
MOTOR_STOP: str = _BASE_PATH + "mechanical/motor_stop.wav"
|
||||
HORN_2: str = _BASE_PATH + "mechanical/horn_2.wav"
|
||||
LASER: str = _BASE_PATH + "mechanical/laser.wav"
|
||||
SONAR: str = _BASE_PATH + "mechanical/sonar.wav"
|
||||
MOTOR_START: str = _BASE_PATH + "mechanical/motor_start.wav"
|
||||
INSECT_BUZZ_2: str = _BASE_PATH + "animals/insect_buzz_2.wav"
|
||||
ELEPHANT_CALL: str = _BASE_PATH + "animals/elephant_call.wav"
|
||||
SNAKE_HISS: str = _BASE_PATH + "animals/snake_hiss.wav"
|
||||
DOG_BARK_2: str = _BASE_PATH + "animals/dog_bark_2.wav"
|
||||
DOG_WHINE: str = _BASE_PATH + "animals/dog_whine.wav"
|
||||
INSECT_BUZZ_1: str = _BASE_PATH + "animals/insect_buzz_1.wav"
|
||||
DOG_SNIFF: str = _BASE_PATH + "animals/dog_sniff.wav"
|
||||
T_REX_ROAR: str = _BASE_PATH + "animals/t-rex_roar.wav"
|
||||
INSECT_CHIRP: str = _BASE_PATH + "animals/insect_chirp.wav"
|
||||
DOG_GROWL: str = _BASE_PATH + "animals/dog_growl.wav"
|
||||
SNAKE_RATTLE: str = _BASE_PATH + "animals/snake_rattle.wav"
|
||||
DOG_BARK_1: str = _BASE_PATH + "animals/dog_bark_1.wav"
|
||||
CAT_PURR: str = _BASE_PATH + "animals/cat_purr.wav"
|
||||
EIGHT: str = _BASE_PATH + "numbers/eight.wav"
|
||||
SEVEN: str = _BASE_PATH + "numbers/seven.wav"
|
||||
SIX: str = _BASE_PATH + "numbers/six.wav"
|
||||
FOUR: str = _BASE_PATH + "numbers/four.wav"
|
||||
TEN: str = _BASE_PATH + "numbers/ten.wav"
|
||||
ONE: str = _BASE_PATH + "numbers/one.wav"
|
||||
TWO: str = _BASE_PATH + "numbers/two.wav"
|
||||
THREE: str = _BASE_PATH + "numbers/three.wav"
|
||||
ZERO: str = _BASE_PATH + "numbers/zero.wav"
|
||||
FIVE: str = _BASE_PATH + "numbers/five.wav"
|
||||
NINE: str = _BASE_PATH + "numbers/nine.wav"
|
||||
READY: str = _BASE_PATH + "system/ready.wav"
|
||||
CONFIRM: str = _BASE_PATH + "system/confirm.wav"
|
||||
GENERAL_ALERT: str = _BASE_PATH + "system/general_alert.wav"
|
||||
CLICK: str = _BASE_PATH + "system/click.wav"
|
||||
OVERPOWER: str = _BASE_PATH + "system/overpower.wav"
|
||||
|
||||
|
||||
class ImageFile:
|
||||
"""Paths to standard EV3 images."""
|
||||
|
||||
_BASE_PATH = "/usr/share/images/ev3dev/mono/"
|
||||
RIGHT = _BASE_PATH + "information/right.png"
|
||||
FORWARD = _BASE_PATH + "information/forward.png"
|
||||
ACCEPT = _BASE_PATH + "information/accept.png"
|
||||
QUESTION_MARK = _BASE_PATH + "information/question_mark.png"
|
||||
STOP_1 = _BASE_PATH + "information/stop_1.png"
|
||||
LEFT = _BASE_PATH + "information/left.png"
|
||||
DECLINE = _BASE_PATH + "information/decline.png"
|
||||
THUMBS_DOWN = _BASE_PATH + "information/thumbs_down.png"
|
||||
BACKWARD = _BASE_PATH + "information/backward.png"
|
||||
NO_GO = _BASE_PATH + "information/no_go.png"
|
||||
WARNING = _BASE_PATH + "information/warning.png"
|
||||
STOP_2 = _BASE_PATH + "information/stop_2.png"
|
||||
THUMBS_UP = _BASE_PATH + "information/thumbs_up.png"
|
||||
EV3 = _BASE_PATH + "lego/ev3.png"
|
||||
EV3_ICON = _BASE_PATH + "lego/ev3_icon.png"
|
||||
TARGET = _BASE_PATH + "objects/target.png"
|
||||
BOTTOM_RIGHT = _BASE_PATH + "eyes/bottom_right.png"
|
||||
BOTTOM_LEFT = _BASE_PATH + "eyes/bottom_left.png"
|
||||
EVIL = _BASE_PATH + "eyes/evil.png"
|
||||
CRAZY_2 = _BASE_PATH + "eyes/crazy_2.png"
|
||||
KNOCKED_OUT = _BASE_PATH + "eyes/knocked_out.png"
|
||||
PINCHED_RIGHT = _BASE_PATH + "eyes/pinched_right.png"
|
||||
WINKING = _BASE_PATH + "eyes/winking.png"
|
||||
DIZZY = _BASE_PATH + "eyes/dizzy.png"
|
||||
DOWN = _BASE_PATH + "eyes/down.png"
|
||||
TIRED_MIDDLE = _BASE_PATH + "eyes/tired_middle.png"
|
||||
MIDDLE_RIGHT = _BASE_PATH + "eyes/middle_right.png"
|
||||
SLEEPING = _BASE_PATH + "eyes/sleeping.png"
|
||||
MIDDLE_LEFT = _BASE_PATH + "eyes/middle_left.png"
|
||||
TIRED_RIGHT = _BASE_PATH + "eyes/tired_right.png"
|
||||
PINCHED_LEFT = _BASE_PATH + "eyes/pinched_left.png"
|
||||
PINCHED_MIDDLE = _BASE_PATH + "eyes/pinched_middle.png"
|
||||
CRAZY_1 = _BASE_PATH + "eyes/crazy_1.png"
|
||||
NEUTRAL = _BASE_PATH + "eyes/neutral.png"
|
||||
AWAKE = _BASE_PATH + "eyes/awake.png"
|
||||
UP = _BASE_PATH + "eyes/up.png"
|
||||
TIRED_LEFT = _BASE_PATH + "eyes/tired_left.png"
|
||||
ANGRY = _BASE_PATH + "eyes/angry.png"
|
||||
_BASE_PATH: str = "/usr/share/images/ev3dev/mono/"
|
||||
RIGHT: str = _BASE_PATH + "information/right.png"
|
||||
FORWARD: str = _BASE_PATH + "information/forward.png"
|
||||
ACCEPT: str = _BASE_PATH + "information/accept.png"
|
||||
QUESTION_MARK: str = _BASE_PATH + "information/question_mark.png"
|
||||
STOP_1: str = _BASE_PATH + "information/stop_1.png"
|
||||
LEFT: str = _BASE_PATH + "information/left.png"
|
||||
DECLINE: str = _BASE_PATH + "information/decline.png"
|
||||
THUMBS_DOWN: str = _BASE_PATH + "information/thumbs_down.png"
|
||||
BACKWARD: str = _BASE_PATH + "information/backward.png"
|
||||
NO_GO: str = _BASE_PATH + "information/no_go.png"
|
||||
WARNING: str = _BASE_PATH + "information/warning.png"
|
||||
STOP_2: str = _BASE_PATH + "information/stop_2.png"
|
||||
THUMBS_UP: str = _BASE_PATH + "information/thumbs_up.png"
|
||||
EV3: str = _BASE_PATH + "lego/ev3.png"
|
||||
EV3_ICON: str = _BASE_PATH + "lego/ev3_icon.png"
|
||||
TARGET: str = _BASE_PATH + "objects/target.png"
|
||||
BOTTOM_RIGHT: str = _BASE_PATH + "eyes/bottom_right.png"
|
||||
BOTTOM_LEFT: str = _BASE_PATH + "eyes/bottom_left.png"
|
||||
EVIL: str = _BASE_PATH + "eyes/evil.png"
|
||||
CRAZY_2: str = _BASE_PATH + "eyes/crazy_2.png"
|
||||
KNOCKED_OUT: str = _BASE_PATH + "eyes/knocked_out.png"
|
||||
PINCHED_RIGHT: str = _BASE_PATH + "eyes/pinched_right.png"
|
||||
WINKING: str = _BASE_PATH + "eyes/winking.png"
|
||||
DIZZY: str = _BASE_PATH + "eyes/dizzy.png"
|
||||
DOWN: str = _BASE_PATH + "eyes/down.png"
|
||||
TIRED_MIDDLE: str = _BASE_PATH + "eyes/tired_middle.png"
|
||||
MIDDLE_RIGHT: str = _BASE_PATH + "eyes/middle_right.png"
|
||||
SLEEPING: str = _BASE_PATH + "eyes/sleeping.png"
|
||||
MIDDLE_LEFT: str = _BASE_PATH + "eyes/middle_left.png"
|
||||
TIRED_RIGHT: str = _BASE_PATH + "eyes/tired_right.png"
|
||||
PINCHED_LEFT: str = _BASE_PATH + "eyes/pinched_left.png"
|
||||
PINCHED_MIDDLE: str = _BASE_PATH + "eyes/pinched_middle.png"
|
||||
CRAZY_1: str = _BASE_PATH + "eyes/crazy_1.png"
|
||||
NEUTRAL: str = _BASE_PATH + "eyes/neutral.png"
|
||||
AWAKE: str = _BASE_PATH + "eyes/awake.png"
|
||||
UP: str = _BASE_PATH + "eyes/up.png"
|
||||
TIRED_LEFT: str = _BASE_PATH + "eyes/tired_left.png"
|
||||
ANGRY: str = _BASE_PATH + "eyes/angry.png"
|
||||
|
||||
@@ -1,153 +0,0 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
# Copyright (c) 2020 The Pybricks Authors
|
||||
|
||||
from typing import Any, Literal, Optional, Union, overload
|
||||
|
||||
from ..parameters import Color
|
||||
|
||||
class SoundFile:
|
||||
SHOUTING: SoundFile
|
||||
CHEERING: SoundFile
|
||||
CRYING: SoundFile
|
||||
OUCH: SoundFile
|
||||
LAUGHING_2: SoundFile
|
||||
SNEEZING: SoundFile
|
||||
SMACK: SoundFile
|
||||
BOING: SoundFile
|
||||
BOO: SoundFile
|
||||
UH_OH: SoundFile
|
||||
SNORING: SoundFile
|
||||
KUNG_FU: SoundFile
|
||||
FANFARE: SoundFile
|
||||
CRUNCHING: SoundFile
|
||||
MAGIC_WAND: SoundFile
|
||||
LAUGHING_1: SoundFile
|
||||
LEFT: SoundFile
|
||||
BACKWARDS: SoundFile
|
||||
RIGHT: SoundFile
|
||||
OBJECT: SoundFile
|
||||
COLOR: SoundFile
|
||||
FLASHING: SoundFile
|
||||
ERROR: SoundFile
|
||||
ERROR_ALARM: SoundFile
|
||||
DOWN: SoundFile
|
||||
FORWARD: SoundFile
|
||||
ACTIVATE: SoundFile
|
||||
SEARCHING: SoundFile
|
||||
TOUCH: SoundFile
|
||||
UP: SoundFile
|
||||
ANALYZE: SoundFile
|
||||
STOP: SoundFile
|
||||
DETECTED: SoundFile
|
||||
TURN: SoundFile
|
||||
START: SoundFile
|
||||
MORNING: SoundFile
|
||||
EV3: SoundFile
|
||||
GO: SoundFile
|
||||
GOOD_JOB: SoundFile
|
||||
OKEY_DOKEY: SoundFile
|
||||
GOOD: SoundFile
|
||||
NO: SoundFile
|
||||
THANK_YOU: SoundFile
|
||||
YES: SoundFile
|
||||
GAME_OVER: SoundFile
|
||||
OKAY: SoundFile
|
||||
SORRY: SoundFile
|
||||
BRAVO: SoundFile
|
||||
GOODBYE: SoundFile
|
||||
HI: SoundFile
|
||||
HELLO: SoundFile
|
||||
MINDSTORMS: SoundFile
|
||||
LEGO: SoundFile
|
||||
FANTASTIC: SoundFile
|
||||
SPEED_IDLE: SoundFile
|
||||
SPEED_DOWN: SoundFile
|
||||
SPEED_UP: SoundFile
|
||||
BROWN: SoundFile
|
||||
GREEN: SoundFile
|
||||
BLACK: SoundFile
|
||||
WHITE: SoundFile
|
||||
RED: SoundFile
|
||||
BLUE: SoundFile
|
||||
YELLOW: SoundFile
|
||||
TICK_TACK: SoundFile
|
||||
HORN_1: SoundFile
|
||||
BACKING_ALERT: SoundFile
|
||||
MOTOR_IDLE: SoundFile
|
||||
AIR_RELEASE: SoundFile
|
||||
AIRBRAKE: SoundFile
|
||||
RATCHET: SoundFile
|
||||
MOTOR_STOP: SoundFile
|
||||
HORN_2: SoundFile
|
||||
LASER: SoundFile
|
||||
SONAR: SoundFile
|
||||
MOTOR_START: SoundFile
|
||||
INSECT_BUZZ_2: SoundFile
|
||||
ELEPHANT_CALL: SoundFile
|
||||
SNAKE_HISS: SoundFile
|
||||
DOG_BARK_2: SoundFile
|
||||
DOG_WHINE: SoundFile
|
||||
INSECT_BUZZ_1: SoundFile
|
||||
DOG_SNIFF: SoundFile
|
||||
T_REX_ROAR: SoundFile
|
||||
INSECT_CHIRP: SoundFile
|
||||
DOG_GROWL: SoundFile
|
||||
SNAKE_RATTLE: SoundFile
|
||||
DOG_BARK_1: SoundFile
|
||||
CAT_PURR: SoundFile
|
||||
EIGHT: SoundFile
|
||||
SEVEN: SoundFile
|
||||
SIX: SoundFile
|
||||
FOUR: SoundFile
|
||||
TEN: SoundFile
|
||||
ONE: SoundFile
|
||||
TWO: SoundFile
|
||||
THREE: SoundFile
|
||||
ZERO: SoundFile
|
||||
FIVE: SoundFile
|
||||
NINE: SoundFile
|
||||
READY: SoundFile
|
||||
CONFIRM: SoundFile
|
||||
GENERAL_ALERT: SoundFile
|
||||
CLICK: SoundFile
|
||||
OVERPOWER: SoundFile
|
||||
|
||||
class ImageFile:
|
||||
RIGHT: ImageFile
|
||||
FORWARD: ImageFile
|
||||
ACCEPT: ImageFile
|
||||
QUESTION_MARK: ImageFile
|
||||
STOP_1: ImageFile
|
||||
LEFT: ImageFile
|
||||
DECLINE: ImageFile
|
||||
THUMBS_DOWN: ImageFile
|
||||
BACKWARD: ImageFile
|
||||
NO_GO: ImageFile
|
||||
WARNING: ImageFile
|
||||
STOP_2: ImageFile
|
||||
THUMBS_UP: ImageFile
|
||||
EV3: ImageFile
|
||||
EV3_ICON: ImageFile
|
||||
TARGET: ImageFile
|
||||
BOTTOM_RIGHT: ImageFile
|
||||
BOTTOM_LEFT: ImageFile
|
||||
EVIL: ImageFile
|
||||
CRAZY_2: ImageFile
|
||||
KNOCKED_OUT: ImageFile
|
||||
PINCHED_RIGHT: ImageFile
|
||||
WINKING: ImageFile
|
||||
DIZZY: ImageFile
|
||||
DOWN: ImageFile
|
||||
TIRED_MIDDLE: ImageFile
|
||||
MIDDLE_RIGHT: ImageFile
|
||||
SLEEPING: ImageFile
|
||||
MIDDLE_LEFT: ImageFile
|
||||
TIRED_RIGHT: ImageFile
|
||||
PINCHED_LEFT: ImageFile
|
||||
PINCHED_MIDDLE: ImageFile
|
||||
CRAZY_1: ImageFile
|
||||
NEUTRAL: ImageFile
|
||||
AWAKE: ImageFile
|
||||
UP: ImageFile
|
||||
TIRED_LEFT: ImageFile
|
||||
ANGRY: ImageFile
|
||||
Reference in New Issue
Block a user