Skip to content

Instantly share code, notes, and snippets.

View Indp-Dustin's full-sized avatar

Indie Developer Partners Indp-Dustin

View GitHub Profile
#include "pch.h"
#include <iostream>
#include <vector>
int dustinBestTrio(int friend_nodes, int friends_from[], int friends_to[])
{
std::vector<std::vector<int>> allfriends(friend_nodes);
int i = 0;
int f = friends_from[i];
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum PlayerState
{
IDLE = 0,
RUN,
CHASE,
ATTACK,
@Indp-Dustin
Indp-Dustin / Pathfinding.cs
Created April 10, 2019 06:47
PriorityQueue A*
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Diagnostics;
using System;
public class Node : IComparable<Node>
{
public bool walkable;