__author__ = 'Alexey Bright'

from graphlib.generic_vertex import GenericVertex


class Atom(GenericVertex):
    """ Represents a single atom """

    # -------------------------------------------------------------------------
    def __init__(self, element):
        """ Creates Atom object of given element """
        super(self.__class__, self).__init__()
        self.element = element

    # -------------------------------------------------------------------------
    def copy(self):
        """ Returns copy of the atom """
        return Atom(self.element)
