networking

package
Version: v0.0.0-...-3b43014 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2017 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PacketWorldUpdate uint8 = iota
)

Variables

This section is empty.

Functions

This section is empty.

Types

type System

type System struct {
	// contains filtered or unexported fields
}

func (*System) Add

func (s *System) Add(e *ecs.BasicEntity, conn *websocket.Conn, space *cp.Space, physics *component.Physics, health *component.Health, ship *component.Ship)

func (*System) Remove

func (s *System) Remove(e ecs.BasicEntity)

func (*System) Update

func (s *System) Update(dt float32)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL