UNPKG

hytopia

Version:

The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.

9 lines (7 loc) 228 B
import { Entity, } from 'hytopia'; import GamePlayerEntity from './GamePlayerEntity'; export default abstract class InteractableEntity extends Entity { public abstract interact(interactingPlayer: GamePlayerEntity): void; }