Add in throwable items (dagger) from pixel dungeon
This commit is contained in:
@@ -35,7 +35,13 @@ vi.mock('phaser', () => {
|
||||
get: vi.fn(),
|
||||
};
|
||||
add = {
|
||||
graphics: vi.fn(() => ({})),
|
||||
graphics: vi.fn(() => ({
|
||||
setDepth: vi.fn().mockReturnThis(),
|
||||
clear: vi.fn(),
|
||||
lineStyle: vi.fn(),
|
||||
lineBetween: vi.fn(),
|
||||
strokeRect: vi.fn(),
|
||||
})),
|
||||
text: vi.fn(() => ({})),
|
||||
rectangle: vi.fn(() => ({})),
|
||||
container: vi.fn(() => ({})),
|
||||
|
||||
Reference in New Issue
Block a user