#------------------------------------------------------------------------------
# Brandon_Hawkins_PP2_cell.py 
# Student Name: Brandon Hawkins 
# Assignment: Project #2
# Submission Date: 11/22/2011 
#------------------------------------------------------------------------------
# Honor Code Statement: I received no assistance on this assignment that 
#                       violates the ethical guidelines as set forth by the 
#                       instructor and the class syllabus. 
#------------------------------------------------------------------------------

class Cell(object):
    """Represents a Cell."""
    def __init__(self, alive):
        """Cell is either alive or dead."""
        self.alive = alive
        
    def __str__(self):
        """If alive, represented by 'X' else represented by '.'"""
        if self.alive:
            return "X"
        return "."

a6253674d4ebdd1ace6073b378bd9dcb430b4259
<mask token>

class Cell(object):
    <mask token>

    def __init__(self, alive):
        """Cell is either alive or dead."""
        self.alive = alive
    <mask token>

class Cell(object):
    <mask token>

    def __init__(self, alive):
        """Cell is either alive or dead."""
        self.alive = alive

    def __str__(self):
        """If alive, represented by 'X' else represented by '.'"""
        if self.alive:
            return 'X'
        return '.'

class Cell(object):
    """Represents a Cell."""

    def __init__(self, alive):
        """Cell is either alive or dead."""
        self.alive = alive

    def __str__(self):
        """If alive, represented by 'X' else represented by '.'"""
        if self.alive:
            return 'X'
        return '.'

#------------------------------------------------------------------------------
# Brandon_Hawkins_PP2_cell.py 
# Student Name: Brandon Hawkins 
# Assignment: Project #2
# Submission Date: 11/22/2011 
#------------------------------------------------------------------------------
# Honor Code Statement: I received no assistance on this assignment that 
#                       violates the ethical guidelines as set forth by the 
#                       instructor and the class syllabus. 
#------------------------------------------------------------------------------

class Cell(object):
    """Represents a Cell."""
    def __init__(self, alive):
        """Cell is either alive or dead."""
        self.alive = alive
        
    def __str__(self):
        """If alive, represented by 'X' else represented by '.'"""
        if self.alive:
            return "X"
        return "."
