Skip to content

implement Server.swift to manage a server connection #7

@CtrlShiftGo

Description

@CtrlShiftGo

Class Specification

Attributes

  • Server IP
  • Time of last connection

Get

  • Get pacman location
  • Get pacman status (power-dot or not)
  • Get ghost location
  • Get dots status
    • Returns an array of dots fetched from the server

Set

  • Set the current player location
  • Set the current player type (Ghost or pacman)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions