File:Maze game UML.svg

Original file (SVG file, nominally 1,005 × 235 pixels, file size: 15 KB)

Summary

Description
English: A UML class diagram featuring two abstract classes; Room and MazeGame, as well as four concrete classes; MagicRoom and OrdinaryRoom which inherits from Room, and MagicMazeGame and OrdinaryMazeGame which inherits from the abstract class MazeGame. The MazeGame abstract class declares an abstract method named MakeRoom which is implemented by the MagicMazeGame and OrdinaryMazeGame classes.
Date
Source Own work
Author Frap

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Source code

PlantUML source code.

@startuml abstract class Room {     +{abstract} Connect(room: Room): void }  class MagicRoom extends Room {     +Connect(room: Room): void }  class OrdinaryRoom extends Room {     +Connect(room: Room): void }  abstract class MazeGame {      -rooms: []      +«Create» MazeGame(): MazeGame      #{abstract} MakeRoom(): Room }  class MagicMazeGame extends MazeGame {     #MakeRoom(): MagicRoom }  class OrdinaryMazeGame extends MazeGame {     #MakeRoom(): OrdinaryRoom } @enduml 

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

17 May 2023

image/svg+xml

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current13:40, 17 May 2023Thumbnail for version as of 13:40, 17 May 20231,005 × 235 (15 KB)FrapUploaded own work with UploadWizard

The following page uses this file:

Metadata