Skip to content

Commit

Permalink
Add 'orange' as color option for Cat class and for cat tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
halawaykeller committed Jul 27, 2024
1 parent f16fccb commit a5475ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/panel/pets/cat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ export class Cat extends BasePetType {
static possibleColors = [
PetColor.black,
PetColor.brown,
PetColor.white,
PetColor.gray,
PetColor.lightbrown,
PetColor.orange,
PetColor.white,
];
sequence = {
startingState: States.sitIdle,
Expand Down
2 changes: 1 addition & 1 deletion src/test/gifs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as fs from 'fs';

const pets: { [key: string]: { colors: string[]; states: string[] } } = {
cat: {
colors: ['black', 'brown', 'gray', 'lightbrown', 'white'],
colors: ['black', 'brown', 'gray', 'lightbrown', 'orange', 'white'],
states: [
'fall_from_grab',
'idle',
Expand Down

0 comments on commit a5475ac

Please sign in to comment.