Tuple - UQcsse3200/2023-studio-3 GitHub Wiki

Introduction

This class is used to eliminate the need of Maps and HashMaps to couple non-unique data. It is used to store the mob name and the health to be initialised with, however it has a simple implementation and can be simply expanded to possibly carry the baseAttack.

Usage

The values of the Tuple can be retrieved with the public names Tuple.mob and Tuple.health.