first commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using NitroxClient.GameLogic.PlayerLogic.PlayerModel.ColorSwap;
|
||||
using UnityEngine;
|
||||
|
||||
namespace NitroxClient.GameLogic.PlayerLogic.PlayerModel.Abstract
|
||||
{
|
||||
public interface IColorSwapManager
|
||||
{
|
||||
Action<ColorSwapAsyncOperation> CreateColorSwapTask(INitroxPlayer nitroxPlayer);
|
||||
void ApplyPlayerColor(Dictionary<string, Color[]> pixelIndex, INitroxPlayer nitroxPlayer);
|
||||
}
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace NitroxClient.GameLogic.PlayerLogic.PlayerModel.Abstract
|
||||
{
|
||||
public interface IColorSwapStrategy
|
||||
{
|
||||
Color SwapColor(Color originalColor);
|
||||
}
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace NitroxClient.GameLogic.PlayerLogic.PlayerModel.Abstract
|
||||
{
|
||||
public interface ILocalNitroxPlayer : INitroxPlayer
|
||||
{
|
||||
//This serves as a "clean" player model to clone from. The root player model is going to be recolored as well
|
||||
//which would change our HSV filter parameters. Who wants to hit a moving target?
|
||||
GameObject BodyPrototype { get; }
|
||||
}
|
||||
}
|
@@ -0,0 +1,13 @@
|
||||
using NitroxModel.MultiplayerSession;
|
||||
using UnityEngine;
|
||||
|
||||
namespace NitroxClient.GameLogic.PlayerLogic.PlayerModel.Abstract
|
||||
{
|
||||
public interface INitroxPlayer
|
||||
{
|
||||
GameObject Body { get; }
|
||||
GameObject PlayerModel { get; }
|
||||
string PlayerName { get; }
|
||||
PlayerSettings PlayerSettings { get; }
|
||||
}
|
||||
}
|
@@ -0,0 +1,7 @@
|
||||
namespace NitroxClient.GameLogic.PlayerLogic.PlayerModel.Abstract
|
||||
{
|
||||
public interface IPlayerModelBuilder
|
||||
{
|
||||
void Build(INitroxPlayer player);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user