package com.minelittlepony.unicopia.player; public interface IOwned { void setOwner(E owner); E getOwner(); @SuppressWarnings("unchecked") static IOwned cast(Object o) { return (IOwned)o; } }