digitaldanny / digitaldanny/detached

Remove Entity "TeleportHere" Method

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
C#
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

**Description**
The Entity.cs should not contain "TeleportHere" method. Teleporting to a location while switching to player camera is clearly focused on EntityPlayerDefault subclass / interaction with Spirit class.

```csharp
public virtual void TeleportHere(Vector2 location, Vector2 velocity)
```

**Action**
Spirit should implement a "TeleportPlayerHere" method that handles everything "TeleportHere" in the Entity class does.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.