Commit 25d70488 authored by GromeTT's avatar GromeTT
Browse files

ENH: Added partial documentation for AcceptsProximityAlert

parent cbd84b95
from ml.ml40.features.functionalities.functionality import Functionality """This module implements the class AcceptsProximityAlert."""
from ml.ml40.features.functionalities.functionality import Functionality
class AcceptsProximityAlert(Functionality): class AcceptsProximityAlert(Functionality):
"""This functionality signalizes that an alert is generated if things
are to close to this thing."""
def __init__(self, name="", identifier=""): def __init__(self, name="", identifier=""):
"""Initializes the object.
:param name: Object name
:param identifier: Identifier
"""
super().__init__( super().__init__(
name=name, name=name,
identifier=identifier) identifier=identifier)
def proximityAlert(self, ids: list, distances: list): def proximityAlert(self, ids: list, distances: list):
print("Making Proximity Alert...") print("Making Proximity Alert...")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment