From a43f5552b4ca73c7b4db9474b8bc6914e97df024 Mon Sep 17 00:00:00 2001 From: Abhinna Adhikari Date: Tue, 16 Feb 2021 11:57:11 -0500 Subject: [PATCH] Change orientation of entities --- static/js/index.js | 10 +++++----- templates/temp_index.html | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/static/js/index.js b/static/js/index.js index acafb23..6482793 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -8,11 +8,11 @@ canvas.width = window.innerWidth; canvas.height = window.innerHeight; // Define Entities -let attacker = new Entity('/static/images/attacker.png', 'attacker', 100,250,100,100); -let mserver = new Entity('/static/images/remote_server.png', 'Reflection Server', 700, 250, 100, 100); -let client = new Entity('/static/images/home_client.png', 'client', 1900, 250, 100, 100); -let router = new Entity('/static/images/router.png', 'router - DDD Filter and Mapping Device', 1300, 250, 100,100); -let nserver = new Entity('/static/images/remote_server.png', 'nserver', 1000, 700,100,100); +let attacker = new Entity('/static/images/attacker.png', 'attacker', 250,150,100,100); +let mserver = new Entity('/static/images/remote_server.png', 'Reflection Server', 1700, 150, 100, 100); +let client = new Entity('/static/images/home_client.png', 'client', 1700, 750, 100, 100); +let router = new Entity('/static/images/router.png', 'router - DDD Filter and Mapping Device', 1000, 475, 100,100); +let nserver = new Entity('/static/images/remote_server.png', 'nserver', 250, 750,100,100); let entities = [mserver, nserver, client, router, attacker]; for(let entity of entities){ entity.ctx = ctx; diff --git a/templates/temp_index.html b/templates/temp_index.html index 8e4cd22..1af04ad 100644 --- a/templates/temp_index.html +++ b/templates/temp_index.html @@ -68,7 +68,7 @@

This is a simulation project, implem
-
+