File:Csharp ColliderLibrary.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file(SVG file, nominally 649 × 251 pixels, file size: 11 KB)

Summary

Description
English: A class named ColliderLibrary which contains four static methods with the same name which use method overloading to handle different parameters.
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
class ColliderLibrary
{
    + {static} string CollideWith(Asteroid x, Asteroid y)
    + {static} string CollideWith(Asteroid x, Spaceship y)
    + {static} string CollideWith(Spaceship x, Asteroid y)
    + {static} string CollideWith(Spaceship x, Spaceship y)
}

abstract class SpaceObject << (R,lightgreen) >>
{
    + int Size
}

class Asteroid << (R,lightgreen) >> extends SpaceObject
{
    + «Create» Asteroid()
}

class Spaceship << (R,lightgreen) >> extends SpaceObject
{
    + «Create» Spaceship()
}
@enduml

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

17 May 2023

image/svg+xml

3e980c046d7f9d466555ce0a107d970841c80c40

11,312 byte

251 pixel

649 pixel

File history

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

Date/TimeThumbnailDimensionsUserComment
current12:47, 17 May 2023Thumbnail for version as of 12:47, 17 May 2023649 × 251 (11 KB)FrapUploaded own work with UploadWizard
The following pages on the English Wikipedia use this file (pages on other projects are not listed):

Metadata