Skip to content

Trap Unit Testing

GoldMan93 edited this page Sep 13, 2021 · 4 revisions

File Location

Target file path: src\main\com\deco2800\game\entities\factories\ObstacleFactory.java (Trap funciton)

Test file path: src\test\com\deco2800\game\entities\TrapTest.java

Aim

Testing the trap can be spawn and give the correct damage to player or monster

Table of Contents

Home

Design Document

Design Document

Design Document

Game Engine

Getting Started

Entities and Components

Item Drops from Entities

Service Locator

Loading Resources

Logging

Unit Testing

Debug Terminal

Input Handling

UI

Animations

Audio

AI

Physics

Game Screens and Areas

Terrain

Map Generation

Concurrency & Threading

Settings

Troubleshooting

MacOS Setup Guide

Clone this wiki locally