From 38c877950da0301a5f52de6ca05843cbf971debc Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 5 Jan 2021 17:21:14 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Implement=20magazine?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- royalnet/engineer/magazine.py | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 royalnet/engineer/magazine.py diff --git a/royalnet/engineer/magazine.py b/royalnet/engineer/magazine.py new file mode 100644 index 00000000..27a6e95f --- /dev/null +++ b/royalnet/engineer/magazine.py @@ -0,0 +1,35 @@ +# Module docstring +""" +.. todo:: Document magazines. +""" + +# Special imports +from __future__ import annotations +import royalnet.royaltyping as t + +# External imports +import logging + +# Internal imports +from . import bullet + +# Special global objects +log = logging.getLogger(__name__) + + +# Code +class Magazine: + """ + A reference to all types of bullets to be used when instancing bullets from a bullet. + """ + + BULLET = bullet.Bullet + USER = bullet.User + MESSAGE = bullet.Message + CHANNEL = bullet.Channel + + +# Objects exported by this module +__all__ = ( + "Magazine", +)